Skip to content

Commit

Permalink
Test Node.js 17
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak committed Nov 3, 2021
1 parent 8122d96 commit 090b2c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 17
- 16
- 14
os:
Expand Down
2 changes: 1 addition & 1 deletion test/https.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ test('invalid key passphrase', withHttpsServer(), async (t, server, got) => {
});

const {code}: NodeJS.ErrnoException = await t.throwsAsync(request);
t.true(code === 'ERR_OSSL_BAD_DECRYPT' || code === 'ERR_OSSL_EVP_BAD_DECRYPT');
t.true(code === 'ERR_OSSL_BAD_DECRYPT' || code === 'ERR_OSSL_EVP_BAD_DECRYPT', code);
});

test('client certificate PFX', withHttpsServer(), async (t, server, got) => {
Expand Down

0 comments on commit 090b2c5

Please sign in to comment.