Fix testPathPatterns when config is in subdirectory #13442
Annotations
7 errors and 2 warnings
run tests using jest-jasmine:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
run tests using jest-jasmine:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": ObjectContaining {
- "patterns": Array [
+ "testPathPatterns": Array [
"/tmp/mock-path",
],
- },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
run tests using jest-jasmine:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": ObjectContaining {
- "patterns": Array [
+ "testPathPatterns": Array [
"/tmp/mock-path",
],
- },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
run tests using jest-jasmine:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
run tests using jest-jasmine:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": ObjectContaining {
- "patterns": Array [
+ "testPathPatterns": Array [
"/tmp/mock-path",
],
- },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
run tests using jest-jasmine:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
run tests using jest-jasmine
Final attempt failed. Child_process exited with error code 1
|
run tests using jest-jasmine
Attempt 1 failed. Reason: Child_process exited with error code 1
|
run tests using jest-jasmine
Attempt 2 failed. Reason: Child_process exited with error code 1
|
The logs for this run have expired and are no longer available.
Loading