chore: remove source-map dep from E2E test #13428
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
13s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
44s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
32s
TypeScript Compatibility
5m 51s
Typecheck Examples and Tests
3m 45s
Lint
1m 52s
Validate Yarn dependencies and constraints
13s
Node LTS on Ubuntu with leak detection
1m 9s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
9 errors and 5 warnings
can press "f" to run only failed tests:
e2e/__tests__/watchModeOnlyFailed.test.ts#L45
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "f" to run only failed tests: test results 1`
- Snapshot - 1
+ Received + 2
@@ -9,6 +9,7 @@
> 1 | test('bar 1', () => { expect('bar').toBe('foo'); });
| ^
at Object.toBe (__tests__/bar.spec.js:1:37)
- PASS __tests__/foo.spec.js"
+ PASS __tests__/foo.spec.js
+ 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)
|
testMatch should able to match file with `?([mc])[jt]s?(x)` by default:
e2e/__tests__/testMatchDefault.test.ts#L13
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/testMatchDefault.test.ts:13:27)
|
can press "p" to filter by file name:
e2e/__tests__/watchModePatterns.test.ts#L51
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "p" to filter by file name: test results 1`
- Snapshot - 0
+ Received + 2
PASS __tests__/bar.spec.js
+ 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.
+
PASS __tests__/foo.spec.js
at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:51:18)
|
can press "p" to filter by file name:
e2e/__tests__/watchModePatterns.test.ts#L51
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "p" to filter by file name: test results 2`
- Snapshot - 0
+ Received + 2
PASS __tests__/bar.spec.js
✓ bar 1
✓ bar 2
+
+ 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__/watchModePatterns.test.ts:51:18)
|
can press "p" to filter by file name:
e2e/__tests__/watchModePatterns.test.ts#L51
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "p" to filter by file name: test results 2`
- Snapshot - 0
+ Received + 2
PASS __tests__/bar.spec.js
✓ bar 1
✓ bar 2
+
+ 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__/watchModePatterns.test.ts:51:18)
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
|
allows a single non-root project:
e2e/__tests__/multiProjectRunner.test.ts#L204
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at toBe (e2e/__tests__/multiProjectRunner.test.ts:204:22)
|
correctly runs a single non-root project:
e2e/__tests__/multiProjectRunner.test.ts#L254
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at toBe (e2e/__tests__/multiProjectRunner.test.ts:254:22)
|
Windows with shard 3/4 / Node v21.x
Final attempt failed. Child_process exited with error code 1
|
Windows with shard 2/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|