Skip to content

Commit

Permalink
test: disable network-imports test (#17835)
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa authored Aug 9, 2024
1 parent 029ac0c commit 1c9df61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion playground/ssr-html/__tests__/ssr-html.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1c9df61

Please sign in to comment.