Fix testPathPatterns when config is in subdirectory #13442
Annotations
5 errors and 2 warnings
run tests:
node:internal/child_process#L512
Could not find test summary in the output.
OUTPUT:
PASS __tests__/a.test.js
✓ a (5 ms)
node:events:497
throw er; // Unhandled 'error' event
^
Error: kill EPERM
at ChildProcess.kill (node:internal/child_process:512:26)
at listOnTimeout (node:internal/timers:573:17)
at processTimers (node:internal/timers:514:7)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess.kill (node:internal/child_process:512:12)
[... lines matching original stack trace ...]
at processTimers (node:internal/timers:514:7) {
errno: -4048,
code: 'EPERM',
syscall: 'kill'
}
Node.js v21.6.2
at extractSummary (e2e/Utils.ts:243:11)
at Object.<anonymous> (e2e/__tests__/findRelatedFiles.test.ts:244:43)
|
run tests:
e2e/__tests__/showConfig.test.ts#L43
expect(received).toMatchSnapshot()
Snapshot name: `--showConfig outputs config info and exits 1`
- Snapshot - 1
+ Received + 4
@@ -141,11 +141,14 @@
"snapshotFormat": {
"escapeString": false,
"printBasicPrototype": false
},
"testFailureExitCode": 1,
- "testPathPatterns": [],
+ "testPathPatterns": {
+ "patterns": [],
+ "type": "TestPathPatterns"
+ },
"testSequencer": "<<REPLACED_JEST_PACKAGES_DIR>>/jest-test-sequencer/build/index.js",
"updateSnapshot": "none",
"useStderr": false,
"waitNextEventLoopTurnForUnhandledRejectionEvents": false,
"watch": false,
at Object.toMatchSnapshot (e2e/__tests__/showConfig.test.ts:43:18)
|
run tests:
e2e/__tests__/showConfig.test.ts#L43
expect(received).toMatchSnapshot()
Snapshot name: `--showConfig outputs config info and exits 1`
- Snapshot - 1
+ Received + 4
@@ -141,11 +141,14 @@
"snapshotFormat": {
"escapeString": false,
"printBasicPrototype": false
},
"testFailureExitCode": 1,
- "testPathPatterns": [],
+ "testPathPatterns": {
+ "patterns": [],
+ "type": "TestPathPatterns"
+ },
"testSequencer": "<<REPLACED_JEST_PACKAGES_DIR>>/jest-test-sequencer/build/index.js",
"updateSnapshot": "none",
"useStderr": false,
"waitNextEventLoopTurnForUnhandledRejectionEvents": false,
"watch": false,
at Object.toMatchSnapshot (e2e/__tests__/showConfig.test.ts:43:18)
|
run tests:
e2e/__tests__/showConfig.test.ts#L43
expect(received).toMatchSnapshot()
Snapshot name: `--showConfig outputs config info and exits 1`
- Snapshot - 1
+ Received + 4
@@ -141,11 +141,14 @@
"snapshotFormat": {
"escapeString": false,
"printBasicPrototype": false
},
"testFailureExitCode": 1,
- "testPathPatterns": [],
+ "testPathPatterns": {
+ "patterns": [],
+ "type": "TestPathPatterns"
+ },
"testSequencer": "<<REPLACED_JEST_PACKAGES_DIR>>/jest-test-sequencer/build/index.js",
"updateSnapshot": "none",
"useStderr": false,
"waitNextEventLoopTurnForUnhandledRejectionEvents": false,
"watch": false,
at Object.toMatchSnapshot (e2e/__tests__/showConfig.test.ts:43:18)
|
run tests
Final attempt failed. Child_process exited with error code 1
|
run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
run tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
The logs for this run have expired and are no longer available.
Loading