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
errors=errors.replaceAll('with exit code 1','with signal SIGINT')
107
+
}
108
+
109
+
expect(errors).toMatchInlineSnapshot(`
110
+
"⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯
111
+
Vitest caught 2 unhandled errors during the test run.
112
+
This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.
113
+
⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
114
+
Error: [vitest-pool]: Worker forks emitted error.
115
+
Caused by: Error: Worker exited unexpectedly with signal SIGINT during started state while running test file <process-cwd>/fixtures/pool-worker-exit/3-crash.test.ts
116
+
⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
117
+
Error: [vitest-pool]: Worker forks emitted error.
118
+
Caused by: Error: Worker exited unexpectedly with exit code 42 during started state while running test file <process-cwd>/fixtures/pool-worker-exit/5-exit.test.ts
0 commit comments