Fix testPathPatterns when config is in subdirectory #13434
Annotations
10 errors and 2 warnings
run tests using jest-jasmine:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
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 /Users/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:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
run tests using jest-jasmine:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": 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": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": 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/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
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 /Users/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:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
run tests using jest-jasmine:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": 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/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
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