You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from 0.19.1 to 0.20.2 when I use isolate=false my tests now fail with:
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Vitest caught 1 unhandled error during the test run. This might cause false positive tests.
Please, resolve all the errors to make sure your tests are not affected.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Error: Errors occurred while running tests. For more information, see serialized error.
❯ Object.runTests ../node_modules/vitest/dist/chunk-vite-node-externalize.45323563.mjs:7078:17
❯ async file:/home/globex/Git/jest-vs-jasmine/node_modules/vitest/dist/chunk-vite-node-externalize.45323563.mjs:9504:9
❯ Vitest.runFiles ../node_modules/vitest/dist/chunk-vite-node-externalize.45323563.mjs:9519:12
❯ Vitest.start ../node_modules/vitest/dist/chunk-vite-node-externalize.45323563.mjs:9436:5
❯ startVitest ../node_modules/vitest/dist/chunk-vite-node-externalize.45323563.mjs:10188:5
❯ CAC.start ../node_modules/vitest/dist/cli.mjs:666:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: {
"errors": [
[ReferenceError: ArrayBuffer is not defined],
],
}
Reproduction
I'm really struggling to create a miminal repro case. It seems to be very finicky. I can reproduce like this:
Describe the bug
After upgrading from 0.19.1 to 0.20.2 when I use
isolate=false
my tests now fail with:Reproduction
I'm really struggling to create a miminal repro case. It seems to be very finicky. I can reproduce like this:
cd vitest
yarn vitest --isolate=false
However, that repo has a lot of code. When I remove some files, the error goes away. When I remove completely different files -- the error comes back.
I figured I'd log the issue anyway to see if the error itself can spark some ideas. If not -- I can keep trying to find a minimal repro.
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: