From 3fa19f4fed719d144a9ae2d6432fa61baecad512 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Wed, 28 Sep 2022 11:28:06 -0700 Subject: [PATCH] Skip experimental undici test for deploy mode (#41006) Skipping for now as the test doesn't work correctly in deploy mode. x-ref: https://github.com/vercel/next.js/actions/runs/3145043013/jobs/5112533360 --- test/e2e/undici-fetch/index.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/undici-fetch/index.test.ts b/test/e2e/undici-fetch/index.test.ts index 34e95fe1fdcab..626e1ca7cac2c 100644 --- a/test/e2e/undici-fetch/index.test.ts +++ b/test/e2e/undici-fetch/index.test.ts @@ -5,7 +5,8 @@ import semver from 'semver' if ( semver.lt(process.version, '16.8.0') || - semver.gte(process.version, '18.0.0') + semver.gte(process.version, '18.0.0') || + (global as any).isNextDeploy ) { it('skipping for Node.js versions <16.8.0 and >18.0.0', () => { expect(true).toBe(true)