From 052e55b7bda7bcf4e40f0f111476dfd5a3784cfb Mon Sep 17 00:00:00 2001 From: Andrea Carraro Date: Wed, 26 Apr 2023 17:53:35 +0200 Subject: [PATCH] test: skip an integration test on Node v14 --- test-integration/oauth2-mocked-server.integration.test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test-integration/oauth2-mocked-server.integration.test.js b/test-integration/oauth2-mocked-server.integration.test.js index bd2d713..208d481 100644 --- a/test-integration/oauth2-mocked-server.integration.test.js +++ b/test-integration/oauth2-mocked-server.integration.test.js @@ -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' },