optio
optio copied to clipboard
fix: publicApiUrl deployment configuration and optimize auth provider tests
Summary
This fix addresses an issue where the PUBLIC_API_URL service was missing its default process or environment variable configuration during deployment. It ensures that the publicApiUrl is properly configured, utilized across the API, and thoroughly covered by unit and integration tests.
Changes
- Fixed the missing
publicApiUrldeployment variable to ensure the service initializes correctly. - Updated the API to correctly utilize the
publicApiUrlvariable. - Testing & Quality Assurance:
- Added dedicated unit tests for provider auth:
getCallbackUrl. - Added test case specifically to
githubgoogleoidctargetinggetCallbackUrl. - Optimized multiple provider tests using
describe.eachfor better maintainability and cleaner execution.
- Added dedicated unit tests for provider auth:
Testing
- [x] Tests pass (
pnpm turbo test) - [x] Typechecks pass (
pnpm turbo typecheck) - [x] Helm pass (
helm lint)
Related
Closes #