fix: error cause bug #14165
Annotations
1 error and 1 warning
run tests:
e2e/__tests__/watchModeOnlyFailed.test.ts#L45
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "f" to run only failed tests: test results 2`
- Snapshot - 1
+ Received + 3
@@ -9,6 +9,8 @@
Received: "bar"
> 1 | test('bar 1', () => { expect('bar').toBe('foo'); });
| ^
- at Object.toBe (__tests__/bar.spec.js:1:37)"
+ at Object.toBe (__tests__/bar.spec.js:1:37)
+
+ A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them."
at Object.toMatchSnapshot (e2e/__tests__/watchModeOnlyFailed.test.ts:45:18)
|
run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Loading