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
This commit is contained in:
JJ Kasper 2022-09-28 11:28:06 -07:00 committed by GitHub
parent 78cb07a4ca
commit 3fa19f4fed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)