Skip to content

feat(NODE-3989)!: only accept true and false for boolean options #3791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 4, 2023
Prev Previous commit
Next Next commit
test(NODE-3989): skip spec test
  • Loading branch information
W-A-James committed Aug 2, 2023
commit 6d4d24429f3c38ae71086b6de0c3b60c2e1a78ae
5 changes: 4 additions & 1 deletion test/unit/assorted/uri_options.spec.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ describe('URI option spec tests', function () {
'tlsDisableCertificateRevocationCheck can be set to true',
'tlsDisableCertificateRevocationCheck can be set to false',
'tlsDisableOCSPEndpointCheck can be set to true',
'tlsDisableOCSPEndpointCheck can be set to false'
'tlsDisableOCSPEndpointCheck can be set to false',

// Skipped because we now only accept true/false for boolean options
'Invalid loadBalanced value'
];

const testsThatDoNotThrowOnWarn = [
Expand Down