Skip to content

Commit

Permalink
chore: nvmrc content to lts/* (#245)
Browse files Browse the repository at this point in the history
* chore: changed nvmrc file content

* Update ci.yml

* fix: string matching for node 18
  • Loading branch information
ilteoood committed Nov 17, 2022
1 parent 32408f7 commit 2a3ae96
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
node:
- 14
- 16
- 18
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
4 changes: 3 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,9 @@ describe('RS256 JWT token validation', function () {
code: 'ECONNREFUSED',
statusCode: 500,
error: 'Internal Server Error',
message: 'request to https://localhost/.well-known/jwks.json failed, reason: connect ECONNREFUSED 127.0.0.1:443'
message: expect.stringMatching(
/request to https:\/\/localhost\/.well-known\/jwks.json failed, reason: connect ECONNREFUSED (127.0.0.1|::1):443/
)
})
})

Expand Down

0 comments on commit 2a3ae96

Please sign in to comment.