diff --git a/test/dev/modern.client.test.js b/test/dev/modern.client.test.js index 88f531426fed..8c2e2a69cb70 100644 --- a/test/dev/modern.client.test.js +++ b/test/dev/modern.client.test.js @@ -31,7 +31,7 @@ describe('modern client mode (SSR)', () => { expect(response).toContain('') }) - test('should contain module http2 pushed resources', async () => { + test.posix('should contain module http2 pushed resources', async () => { const { headers: { link } } = await rp(url('/')) expect(link).toEqual([ '; rel=modulepreload; crossorigin=use-credentials; as=script', diff --git a/test/dev/modern.server.test.js b/test/dev/modern.server.test.js index 83d01dbc89a8..521416320b38 100644 --- a/test/dev/modern.server.test.js +++ b/test/dev/modern.server.test.js @@ -43,7 +43,7 @@ describe('modern server mode', () => { expect(response).not.toContain('=>') }) - test('should contain legacy http2 pushed resources', async () => { + test.posix('should contain legacy http2 pushed resources', async () => { const { headers: { link } } = await rp(url('/')) expect(link).toEqual([ '; rel=preload; crossorigin=use-credentials; as=script', @@ -53,7 +53,7 @@ describe('modern server mode', () => { ].join(', ')) }) - test('should contain module http2 pushed resources', async () => { + test.posix('should contain module http2 pushed resources', async () => { const { headers: { link } } = await rp(url('/'), { headers: { 'user-agent': modernUA } }) diff --git a/test/dev/modern.spa.test.js b/test/dev/modern.spa.test.js index a2ac87236700..a65e565e6347 100644 --- a/test/dev/modern.spa.test.js +++ b/test/dev/modern.spa.test.js @@ -39,7 +39,7 @@ describe('modern client mode (SPA)', () => { expect(response).toContain('') }) - test('should contain legacy http2 pushed resources', async () => { + test.posix('should contain legacy http2 pushed resources', async () => { const { headers: { link } } = await rp(url('/')) expect(link).toEqual([ '; rel=preload; crossorigin=use-credentials; as=script', @@ -59,7 +59,7 @@ describe('modern client mode (SPA)', () => { expect(response).toContain('src="/_nuxt/safari-nomodule-fix.js" crossorigin="use-credentials"') }) - test('should contain modern http2 pushed resources', async () => { + test.posix('should contain modern http2 pushed resources', async () => { const { headers: { link } } = await rp(url('/'), { headers: { 'user-agent': modernUA } }) expect(link).toEqual([ '; rel=modulepreload; crossorigin=use-credentials; as=script',