Skip to content

Commit

Permalink
Merge pull request #708 from Sanofi-IADC/feature/multi_auth
Browse files Browse the repository at this point in the history
feat(auth): reset https proxy value for proxy test
  • Loading branch information
alastasWow authored Mar 4, 2022
2 parents e7470c2 + 143efb6 commit 9882fad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/config/config.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ describe('ConfigService', () => {
// Given AUTH_CONFIG_SECRET environment variable is configured with secretOrKeyProvider
process.env.AUTH_CONFIG_SECRET = AUTH.AUTH_CONFIG_SECRET_JWKS;
delete process.env.HTTP_PROXY;
delete process.env.HTTPS_PROXY;
const spy = jest.spyOn(JwksRsa, 'passportJwtSecret');

// When the auth configuration is retrieved
Expand Down

0 comments on commit 9882fad

Please sign in to comment.