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
As shown in the reproduction, while a test fails it doesn't show the error message but it goes in an unhandled exception.
In this simple test, it generates both RangeError: Maximum call stack size exceeded and TypeError: Cannot read properties of undefined (reading 'stacks'), while in another scenario with GraphQL it just breaks with RangeError: Maximum call stack size exceeded (I didn't reproduce it yet, but I can open a different issue if needed)
The issue is both showing up with npm (StackBlitz) and pnpm (locally)
In the reproduction I've used vitest 0.12.9 but it is the same for 0.10.5 and 0.11.0 as for #1335 and so it shouldn't be related to 1135 issue
Describe the bug
As shown in the reproduction, while a test fails it doesn't show the error message but it goes in an unhandled exception.
In this simple test, it generates both
RangeError: Maximum call stack size exceeded
andTypeError: Cannot read properties of undefined (reading 'stacks')
, while in another scenario with GraphQL it just breaks withRangeError: Maximum call stack size exceeded
(I didn't reproduce it yet, but I can open a different issue if needed)The issue is both showing up with
npm
(StackBlitz) andpnpm
(locally)In the reproduction I've used vitest
0.12.9
but it is the same for0.10.5
and0.11.0
as for #1335 and so it shouldn't be related to 1135 issueReproduction
See this StackBlitz project.
I've tried both
System Info
System: OS: macOS 12.3.1 CPU: (10) x64 Apple M1 Max Memory: 804.87 MB / 32.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.19.0 - /var/folders/7r/8sj96gfd055fh0yprrtsjdc80000gn/T/fnm_multishells/18206_1653644123728/bin/node Yarn: 1.22.17 - /var/folders/7r/8sj96gfd055fh0yprrtsjdc80000gn/T/fnm_multishells/18206_1653644123728/bin/yarn npm: 6.14.16 - /var/folders/7r/8sj96gfd055fh0yprrtsjdc80000gn/T/fnm_multishells/18206_1653644123728/bin/npm Browsers: Chrome: 101.0.4951.64 Safari: 15.4 npmPackages: vitest: ^0.12.9 => 0.12.9
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: