-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix #139 strictSsl: false option being ignored #146
Conversation
strictSsl: false
option being ignored
As far as I have seen, the tests were already failing on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The tests on master
seem to have passed correctly for the last time 2 months ago, according to this https://circleci.com/gh/auth0/node-jwks-rsa/45. I imagine it could be related to the node engine version, or maybe invalid packages being installed. Let me know if you need help to figure that out and I'll reach out to my team.
I just cloned the repo locally and ran the tests on My node version is 12.9.1 (~LTS) |
Hi @kopancek Can you move your Changing describe('Request wrapper tests', () => {
const uri = 'https://foo/bar';
let originalAxiosRequest;
before(() => {
originalAxiosRequest = axios.request;
const mockedAxiosRequest = (options) => {
return Promise.resolve(options);
};
axios.request = mockedAxiosRequest;
});
after(() => {
axios.request = originalAxiosRequest;
}); Should fix the build |
I just noticed the same, the CI should now pass. |
Description
Fixed a bug, when passing in
strictSsl: false
option, it was ignored because of bad boolean logic handling in the request wrapper.References
fixes #139
Testing
Unit tested locally.
Checklist
master