diff --git a/playground/ssr-html/__tests__/ssr-html.spec.ts b/playground/ssr-html/__tests__/ssr-html.spec.ts index 92a2713420f2c3..59d30456f7d8ae 100644 --- a/playground/ssr-html/__tests__/ssr-html.spec.ts +++ b/playground/ssr-html/__tests__/ssr-html.spec.ts @@ -106,7 +106,11 @@ describe.runIf(isServe)('stacktrace', () => { }) }) -describe.runIf(isServe)('network-imports', () => { +// --experimental-network-imports is going to be dropped +// https://github.com/nodejs/node/pull/53822 +const noNetworkImports = Number(process.version.match(/^v(\d+)\./)[1]) >= 22 + +describe.runIf(isServe && !noNetworkImports)('network-imports', () => { test('with Vite SSR', async () => { await execFileAsync( 'node',