Files
gitmost/apps/server/src/integrations
claude_code 08359dd93e test(server): port missing returnToken/env edge cases from #116
PR #120 rewrote auth.controller.spec.ts and environment.service.spec.ts in a
leaner style but dropped several edge cases that PR #116 covered. Port the
gaps so the server coverage matches the original review intent:

- auth.controller: returnToken=false must behave like the omitted case
  (no token in the response body, cookie still set) — guards an
  `!== undefined`-style regression.
- environment.getCorsAllowedOrigins: empty string -> [], single origin,
  and leading/trailing/duplicate commas with spaces -> trimmed list.
- environment.isSwaggerEnabled: mixed-case "True" -> true; "false"/""/"1"
  -> false.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 05:30:56 +03:00
..
2026-03-05 09:29:39 +00:00
2025-03-06 13:38:37 +00:00
2026-05-07 18:13:24 +01:00
2025-03-22 15:29:10 +00:00
2025-03-23 13:12:41 +00:00
2026-05-04 22:26:53 +01:00