Skip to content

Commit

Permalink
test: skip an integration test on Node v14
Browse files Browse the repository at this point in the history
  • Loading branch information
toomuchdesign committed Apr 26, 2023
1 parent 35ce0f4 commit 052e55b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test-integration/oauth2-mocked-server.integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ describe('Authentication against oauth2 mocked server', () => {
})

it('Returns protected route when expected auth header is provided', async () => {
if (process.version.startsWith('v14')) {
console.log('Skipping test on v14')
return
}

const authResponse = await fetch(`${OAuthServer.issuer.url}/token`, {
method: 'POST',
headers: { 'content-type': 'application/json' },
Expand Down

0 comments on commit 052e55b

Please sign in to comment.