Skip to content

Commit

Permalink
test: skip only on node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Aug 8, 2024
1 parent 05f7548 commit d1c9d56
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).skip('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 d1c9d56

Please sign in to comment.