Skip to content

Commit 1c9df61

Browse files
authored
test: disable network-imports test (#17835)
1 parent 029ac0c commit 1c9df61

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

playground/ssr-html/__tests__/ssr-html.spec.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ describe.runIf(isServe)('stacktrace', () => {
106106
})
107107
})
108108

109-
describe.runIf(isServe)('network-imports', () => {
109+
// --experimental-network-imports is going to be dropped
110+
// https://github.com/nodejs/node/pull/53822
111+
const noNetworkImports = Number(process.version.match(/^v(\d+)\./)[1]) >= 22
112+
113+
describe.runIf(isServe && !noNetworkImports)('network-imports', () => {
110114
test('with Vite SSR', async () => {
111115
await execFileAsync(
112116
'node',

0 commit comments

Comments
 (0)