[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

test: skip exec-args on node 22

Vladimir Sheremet (Sep 2, 2024, 2:28 PM +0200) 399ee2e6 84a066af

+4 -2
+4 -2
test/config/test/exec-args.test.ts
··· 13 13 const fileToTest = `${pool}.test.ts` 14 14 15 15 // TODO: node.js has a bug that makes --inspect-brk not work on worker threads 16 - if (nodeMajor === 20 && nodeMinor > 14 && pool !== 'forks') { 17 - return 16 + if (pool !== 'forks') { 17 + if ((nodeMajor === 20 && nodeMinor > 14) || (nodeMajor > 20)) { 18 + return 19 + } 18 20 } 19 21 20 22 const vitest = await runVitest({