Allow jest.config.cts #13243
Annotations
10 errors and 2 warnings
run tests:
undefined#L1
Could not find a "package.json" file in D:\a\jest\jest\packages\create-jest\src\__tests__\__fixtures__\has-jest-config-file-cts
|
run tests:
undefined#L1
Could not find a "package.json" file in D:\a\jest\jest\packages\create-jest\src\__tests__\__fixtures__\has-jest-config-file-cts
|
run tests:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: "jest.config.ts"
Received: "jest.config.js"
at Object.toBe (packages/create-jest/src/__tests__/init.test.ts:257:61)
|
run tests:
undefined#L1
TypeError: Cannot read properties of undefined (reading '1')
at Object.<anonymous> (packages/create-jest/src/__tests__/init.test.ts:293:73)
|
run tests:
e2e/__tests__/watchModePatterns.test.ts#L70
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "t" to filter by test 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:70:18)
|
run tests:
undefined#L1
Could not find a "package.json" file in D:\a\jest\jest\packages\create-jest\src\__tests__\__fixtures__\has-jest-config-file-cts
|
run tests:
undefined#L1
Could not find a "package.json" file in D:\a\jest\jest\packages\create-jest\src\__tests__\__fixtures__\has-jest-config-file-cts
|
run tests:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: "jest.config.ts"
Received: "jest.config.js"
at Object.toBe (packages/create-jest/src/__tests__/init.test.ts:257:61)
|
run tests:
undefined#L1
TypeError: Cannot read properties of undefined (reading '1')
at Object.<anonymous> (packages/create-jest/src/__tests__/init.test.ts:293:73)
|
run tests:
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)
|
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