Skip to content

Commit

Permalink
test: skip exec-args on node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Sep 12, 2024
1 parent b616be8 commit 2ea31d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/config/test/exec-args.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ test.each([
const fileToTest = `${pool}.test.ts`

// TODO: node.js has a bug that makes --inspect-brk not work on worker threads
if (nodeMajor === 20 && nodeMinor > 14 && pool !== 'forks') {
return
if (pool !== 'forks') {
if ((nodeMajor === 20 && nodeMinor > 14) || (nodeMajor > 20)) {
return
}
}

const vitest = await runVitest({
Expand Down

0 comments on commit 2ea31d3

Please sign in to comment.