Override glob package version globally #14372
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
54s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
55s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
2m 1s
TypeScript Compatibility
5m 42s
Typecheck Examples and Tests
4m 2s
Lint
1m 43s
Validate Yarn dependencies and constraints
15s
Node LTS on Ubuntu with leak detection
45s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
700 errors and 174 warnings
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
Runtime › jest.mock › uses explicitly set mocks instead of automocking:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime › jest.mock › sets virtual mock for non-existing module required from same directory:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime › jest.mock › sets virtual mock for non-existing module required from different directory:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime › jest.setMock › uses explicitly set mocks instead of automocking:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime › jest.onGenerateMock › calls single callback and returns transformed value:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime › jest.onGenerateMock › calls multiple callback and returns transformed value:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
makes a non-existing relative worker throw:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
supports URLs:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
exposes the right API using default working:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
exposes the right API using passed worker:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
Runtime requireModule › finds haste modules:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime requireModule › provides `module` to modules:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime requireModule › provides `module.parent` to modules:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime requireModule › `module.parent` should be undefined for entrypoints:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime requireModule › resolve module.parent.require correctly:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime requireModule › resolve module.parent.filename correctly:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime requireModule › provides `module.loaded` to modules:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime requireModule › provides `module.filename` to modules:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime requireModule › provides `module.paths` to modules:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
Runtime requireModule › provides `require.main` to modules:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
outputs coverage report when text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:128:20)
|
HasteMap › exports constants:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
HasteMap › creates valid cache file paths:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
HasteMap › creates different cache file paths for different roots:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
HasteMap › creates different cache file paths for different dependency extractor cache keys:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
HasteMap › creates different cache file paths for different values of computeDependencies:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
HasteMap › creates different cache file paths for different hasteImplModulePath cache keys:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
HasteMap › creates different cache file paths for different projects:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
HasteMap › matches files against a pattern:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
HasteMap › ignores files given a pattern:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
HasteMap › ignores vcs directories without ignore pattern:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 49
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1565:14)
+ at Object..js (node:internal/modules/cjs/loader:1708:10)
+ at Module.load (node:internal/modules/cjs/loader:1318:32)
+ at Function._load (node:internal/modules/cjs/loader:1128:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
+ at Module.require (node:internal/modules/cjs/loader:1340:12)
+ at require (node:internal/modules/helpers:138:16)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1565:14)
+ at Object..js (node:internal/modules/cjs/loader:1708:10)
+ at Module.load (node:internal/modules/cjs/loader:1318:32)
+ at Function._load (node:internal/modules/cjs/loader:1128:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
+ at Module.require (node:internal/modules/cjs/loader:1340:12)
+ at require (node:internal/modules/helpers:138:16)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L256
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/findRelatedFiles.test.ts:256:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 48
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Function._load (node:internal/modules/cjs/loader:1128:12)
+ at Function._load (node:internal/modules/cjs/loader:1128:12)
+ at Module._compile (node:internal/modules/cjs/loader:1565:14)
+ at Module._compile (node:internal/modules/cjs/loader:1565:14)
+ at Module.load (node:internal/modules/cjs/loader:1318:32)
+ at Module.load (node:internal/modules/cjs/loader:1318:32)
+ at Module.require (node:internal/modules/cjs/loader:1340:12)
+ at Module.require (node:internal/modules/cjs/loader:1340:12)
+ at Object..js (node:internal/modules/cjs/loader:1708:10)
+ at Object..js (node:internal/modules/cjs/loader:1708:10)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:423:3)
+ at require (node:internal/modules/helpers:138:16)
+ at require (node:internal/modules/helpers:138:16)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.map (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 49
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1565:14)
+ at Object..js (node:internal/modules/cjs/loader:1708:10)
+ at Module.load (node:internal/modules/cjs/loader:1318:32)
+ at Function._load (node:internal/modules/cjs/loader:1128:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
+ at Module.require (node:internal/modules/cjs/loader:1340:12)
+ at require (node:internal/modules/helpers:138:16)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1565:14)
+ at Object..js (node:internal/modules/cjs/loader:1708:10)
+ at Module.load (node:internal/modules/cjs/loader:1318:32)
+ at Function._load (node:internal/modules/cjs/loader:1128:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
+ at Module.require (node:internal/modules/cjs/loader:1340:12)
+ at require (node:internal/modules/helpers:138:16)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 48
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Function._load (node:internal/modules/cjs/loader:1128:12)
+ at Function._load (node:internal/modules/cjs/loader:1128:12)
+ at Module._compile (node:internal/modules/cjs/loader:1565:14)
+ at Module._compile (node:internal/modules/cjs/loader:1565:14)
+ at Module.load (node:internal/modules/cjs/loader:1318:32)
+ at Module.load (node:internal/modules/cjs/loader:1318:32)
+ at Module.require (node:internal/modules/cjs/loader:1340:12)
+ at Module.require (node:internal/modules/cjs/loader:1340:12)
+ at Object..js (node:internal/modules/cjs/loader:1708:10)
+ at Object..js (node:internal/modules/cjs/loader:1708:10)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:423:3)
+ at require (node:internal/modules/helpers:138:16)
+ at require (node:internal/modules/helpers:138:16)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
babel-jest › instruments only specific files and collects coverage:
e2e/__tests__/transform.test.ts#L39
expect(received).toMatch(expected)
Expected substring: "covered.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/transform.test.ts:39:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 45
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:409:3)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L256
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/findRelatedFiles.test.ts:256:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 44
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:409:3)
+ at require (node:internal/modules/helpers:177:18)
+ at require (node:internal/modules/helpers:177:18)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 45
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:400:3)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L256
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/findRelatedFiles.test.ts:256:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 44
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:400:3)
+ at require (node:internal/modules/helpers:179:18)
+ at require (node:internal/modules/helpers:179:18)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 45
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:332:3)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:119:18)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:119:18)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L256
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/findRelatedFiles.test.ts:256:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 44
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:332:3)
+ at require (node:internal/modules/cjs/helpers:119:18)
+ at require (node:internal/modules/cjs/helpers:119:18)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: createScriptTransformer is not a function
at Object.createScriptTransformer (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:333:37)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: createScriptTransformer is not a function
at Object.createScriptTransformer (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:377:37)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: createScriptTransformer is not a function
at Object.createScriptTransformer (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:428:37)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-banana-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-avocado-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-kiwi-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-grapefruit-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 49
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at require (node:internal/modules/helpers:135:16)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at require (node:internal/modules/helpers:135:16)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L256
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/findRelatedFiles.test.ts:256:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 48
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from /tmp/find-related-tests-test/a.js
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at Array.map (<anonymous>)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Object.<anonymous> (../../home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Object.<anonymous> (/home/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:423:3)
+ at require (node:internal/modules/helpers:135:16)
+ at require (node:internal/modules/helpers:135:16)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Ubuntu with shard 4/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L51
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 1`
- Snapshot - 4
+ Received + 48
- "PASS __tests__/a-banana.js
+ "FAIL __tests__/a-banana.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (90%) not met: 50%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../not-covered.js');
+ | ^
+ 2 | test('banana', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a-banana.js:1:29)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/not-covered.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)"
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:51:16)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L52
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:52:19)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L53
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if coverage threshold is not met: stdout 1`
- Snapshot - 6
+ Received + 5
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 50 | 100 | 0 | 50 |
- not-covered.js | 50 | 100 | 0 | 50 | 2
+ All files | 0 | 0 | 0 | 0 |
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:53:18)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L90
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 1`
- Snapshot - 3
+ Received + 48
- "PASS __tests__/banana.test.js
- ✓ banana
-
+ "FAIL __tests__/banana.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
Jest: Coverage data for apple.js was not found."
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:90:16)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L91
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:91:19)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L92
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if path threshold group is not found in coverage data: stdout 1`
- Snapshot - 6
+ Received + 5
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- banana.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:92:18)
|
exits with 0 if global threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageThreshold.test.ts:128:20)
|
excludes tests matched by path threshold groups from global group:
e2e/__tests__/coverageThreshold.test.ts#L174
expect(received).toMatchSnapshot()
Snapshot name: `excludes tests matched by path threshold groups from global group 1`
- Snapshot - 4
+ Received + 71
- "PASS __tests__/banana.test.js
+ "FAIL __tests__/banana.test.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (100%) not met: 0%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/apple.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
outputs coverage report when text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:128:20)
|
outputs coverage report when text and text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L144
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:144:20)
|
does not output coverage report when html is requested:
e2e/__tests__/coverageReport.test.ts#L156
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:156:20)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: createScriptTransformer is not a function
at Object.createScriptTransformer (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:333:37)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: createScriptTransformer is not a function
at Object.createScriptTransformer (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:377:37)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: createScriptTransformer is not a function
at Object.createScriptTransformer (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:428:37)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-banana-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-avocado-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-kiwi-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-grapefruit-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Ubuntu with shard 4/4 / Node v16.x
Final attempt failed. Child_process exited with error code 1
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Ubuntu with shard 4/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Ubuntu with shard 4/4 / Node v18.x
Final attempt failed. Child_process exited with error code 1
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Ubuntu with shard 4/4 / Node v23.x
Final attempt failed. Child_process exited with error code 1
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Ubuntu with shard 4/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
outputs coverage report when text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:128:20)
|
outputs coverage report when text and text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L144
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:144:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
outputs coverage report when text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:128:20)
|
outputs coverage report when text and text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L144
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:144:20)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
outputs coverage report when text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:128:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 49
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 48
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:423:3)
+ at require (node:internal/modules/helpers:136:16)
+ at require (node:internal/modules/helpers:136:16)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
babel-jest › instruments only specific files and collects coverage:
e2e/__tests__/transform.test.ts#L39
expect(received).toMatch(expected)
Expected substring: "covered.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/transform.test.ts:39:20)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
outputs coverage report when text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:128:20)
|
outputs coverage report when text and text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L144
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:144:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
outputs coverage report when text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:128:20)
|
outputs coverage report when text and text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L144
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:144:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
outputs coverage report when text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:128:20)
|
outputs coverage report when text and text-summary is requested:
e2e/__tests__/coverageReport.test.ts#L144
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:144:20)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
generateEmptyCoverage › generates an empty coverage object for a file without running it:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
generateEmptyCoverage › generates a null coverage result when using /* istanbul ignore file */:
undefined#L1
TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
at loadCodeDefault.next (<anonymous>)
at requireModule.next (<anonymous>)
at loadPlugin.next (<anonymous>)
at createDescriptor.next (<anonymous>)
at Array.forEach (<anonymous>)
at createDescriptors.next (<anonymous>)
at createPluginDescriptors.next (<anonymous>)
at cachedFunction.next (<anonymous>)
at mergeChainOpts.next (<anonymous>)
at chainWalker.next (<anonymous>)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig.next (<anonymous>)
at transform.next (<anonymous>)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L33
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:33:20)
|
outputs coverage report:
e2e/__tests__/coverageReport.test.ts#L30
expect(received).toMatchSnapshot()
Snapshot name: `outputs coverage report 1`
- Snapshot - 15
+ Received + 5
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -------------------------------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 60 | 0 | 50 | 60 |
- coverage-report | 47.36 | 0 | 25 | 50 |
- file.js | 100 | 100 | 100 | 100 |
- notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19
- otherFile.js | 100 | 100 | 100 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
- sumDependency.js | 0 | 0 | 0 | 0 | 8-13
- coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 |
- identical.js | 100 | 100 | 100 | 100 |
- -------------------------------------|---------|----------|---------|---------|-------------------
+ All files | 0 | 0 | 0 | 0 |
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:30:18)
|
collects coverage only from specified file:
e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 5
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- --------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
collects coverage only from specified files avoiding dependencies:
e2e/__tests__/coverageReport.test.ts#L84
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified files avoiding dependencies 1`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 87.5 | 100 | 50 | 100 |
- sum.js | 87.5 | 100 | 50 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:84:18)
|
json reporter printing with --coverage:
e2e/__tests__/coverageReport.test.ts#L93
expect(received).toMatchSnapshot()
Snapshot name: `json reporter printing with --coverage 1`
- Snapshot - 1
+ Received + 1
Test Suites: 1 failed, 1 total
- Tests: 1 failed, 1 skipped, 2 passed, 4 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:93:19)
|
outputs coverage report as json:
e2e/__tests__/coverageReport.test.ts#L102
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:102:20)
|
outputs coverage report when text is requested:
e2e/__tests__/coverageReport.test.ts#L117
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageReport.test.ts:117:20)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
handles a bad revision for "changedSince":
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:61:25)
|
handles a bad revision for "changedSince":
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
|
gets changed files for hg:
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:61:25)
|
gets changed files for hg:
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
|
monitors only root paths for hg:
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:61:25)
|
monitors only root paths for hg:
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
|
handles a bad revision for "changedSince":
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:61:25)
|
handles a bad revision for "changedSince":
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 45
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at promisify (node:internal/util:400:3)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L256
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/findRelatedFiles.test.ts:256:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 44
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:400:3)
+ at require (node:internal/modules/helpers:179:18)
+ at require (node:internal/modules/helpers:179:18)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 49
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L256
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/findRelatedFiles.test.ts:256:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 48
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:423:3)
+ at require (node:internal/modules/helpers:136:16)
+ at require (node:internal/modules/helpers:136:16)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 45
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at promisify (node:internal/util:409:3)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L256
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/findRelatedFiles.test.ts:256:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 44
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:409:3)
+ at require (node:internal/modules/helpers:177:18)
+ at require (node:internal/modules/helpers:177:18)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 2 passed, 2 total
+ Test Suites: 2 failed, 2 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:195:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L202
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 2`
- Snapshot - 2
+ Received + 52
- "PASS __tests__/a.test.js
- PASS __tests__/b.test.js"
+ "
+
+
+
+
+
+
+ 2 | require('../b');
+ 2 | test('b', () => expect(1).toBe(1));
+ 3 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ > 1 | require('../b');
+ FAIL __tests__/a.test.js
+ FAIL __tests__/b.test.js
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Array.map (<anonymous>)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.<anonymous> (__tests__/b.test.js:1:16)
+ at buildRootChain.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ | ^
+ ● Test suite failed to run
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:202:7)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L205
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 3`
- Snapshot - 3
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
- b.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:205:20)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L213
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 4`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:213:21)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L215
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 5`
- Snapshot - 2
+ Received + 45
- "PASS __tests__/a.test.js
- ✓ a"
+ "FAIL __tests__/a.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+
+ > 1 | require('../a');
+ | ^
+ 2 | require('../b');
+ 3 | test('a', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at promisify (node:internal/util:332:3)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:119:18)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:119:18)"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:215:18)
|
--findRelatedTests flag › generates coverage report for filename:
e2e/__tests__/findRelatedFiles.test.ts#L217
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag generates coverage report for filename 6`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:217:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L256
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/findRelatedFiles.test.ts:256:20)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L245
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites related to files matching a.js|b.js.
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:245:21)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L252
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 2`
- Snapshot - 2
+ Received + 44
- "PASS __tests__/a.test.js
- ✓ a"
+ "
+
+
+
+ 2 | test('a', () => expect(1).toBe(1));
+ > 1 | require('../a');
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ FAIL __tests__/a.test.js
+ Failed to collect coverage from C:\Users\runneradmin\AppData\Local\Temp\find-related-tests-test\a.js
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js)
+ at Array.map (<anonymous>)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at Object.<anonymous> (D:/a/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\babel-plugin-istanbul\lib\index.js:12:43)
+ at Object.<anonymous> (D:\a\jest\jest\node_modules\test-exclude\index.js:5:14)
+ at Object.<anonymous> (__tests__/a.test.js:1:16)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at buildRootChain.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at loadCodeDefault.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at promisify (node:internal/util:332:3)
+ at require (node:internal/modules/cjs/helpers:119:18)
+ at require (node:internal/modules/cjs/helpers:119:18)
+ at requireModule.next (<anonymous>)
+ at transform.next (<anonymous>)
+ | ^
+ ● Test suite failed to run"
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:252:7)
|
--findRelatedTests flag › coverage configuration is applied correctly:
e2e/__tests__/findRelatedFiles.test.ts#L255
expect(received).toMatchSnapshot()
Snapshot name: `--findRelatedTests flag coverage configuration is applied correctly 3`
- Snapshot - 2
+ Received + 1
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- a.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/findRelatedFiles.test.ts:255:20)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: createScriptTransformer is not a function
at Object.createScriptTransformer (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:333:37)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: createScriptTransformer is not a function
at Object.createScriptTransformer (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:377:37)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: createScriptTransformer is not a function
at Object.createScriptTransformer (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:428:37)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-banana-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-avocado-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-kiwi-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 1
- <red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-grapefruit-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>
+ createScriptTransformer is not a function
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
at Array.map (<anonymous>)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L51
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 1`
- Snapshot - 4
+ Received + 44
- "PASS __tests__/a-banana.js
+ "FAIL __tests__/a-banana.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (90%) not met: 50%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../not-covered.js');
+ | ^
+ 2 | test('banana', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a-banana.js:1:29)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/not-covered.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:332:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:108:18)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:108:18)"
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:51:16)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L52
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:52:19)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L53
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if coverage threshold is not met: stdout 1`
- Snapshot - 6
+ Received + 5
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 50 | 100 | 0 | 50 |
- not-covered.js | 50 | 100 | 0 | 50 | 2
+ All files | 0 | 0 | 0 | 0 |
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:53:18)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L90
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 1`
- Snapshot - 3
+ Received + 44
- "PASS __tests__/banana.test.js
- ✓ banana
-
+ "FAIL __tests__/banana.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:332:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:108:18)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:108:18)
Jest: Coverage data for apple.js was not found."
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:90:16)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L91
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:91:19)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L92
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if path threshold group is not found in coverage data: stdout 1`
- Snapshot - 6
+ Received + 5
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- banana.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:92:18)
|
exits with 0 if global threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageThreshold.test.ts:128:20)
|
excludes tests matched by path threshold groups from global group:
e2e/__tests__/coverageThreshold.test.ts#L174
expect(received).toMatchSnapshot()
Snapshot name: `excludes tests matched by path threshold groups from global group 1`
- Snapshot - 4
+ Received + 63
- "PASS __tests__/banana.test.js
+ "FAIL __tests__/banana.test.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (100%) not met: 0%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:332:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:108:18)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/modules/cjs/loader:1100:19)
+ at require (node:internal/modules/cjs/helpers:108:18)
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/apple.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:332:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1198:14)
+ at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
+ at Module.load (node:internal/modules/cjs/loader:1076:32)
+ at Function.Module._load (node:internal/modules/cjs/loader:911:12)
+ at Module.require (node:internal/mod
|
ScriptTransformer › transforms a file properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › transforms a file async properly:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › (in async mode) handles only sync `process`:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › handle async createTransformer:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › throws an error if createTransformer returns object without `process` method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
ScriptTransformer › shouldn't throw error without process method. But with correct createTransformer method:
undefined#L1
TypeError: The "original" argument must be of type function. Received an instance of Object
at Object.<anonymous> (node_modules/test-exclude/index.js:5:14)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
processChild › handles circular inequality properly:
e2e/__tests__/nonSerializableStructuresInequality.test.ts#L36
Process exited
at waitUntil (e2e/__tests__/nonSerializableStructuresInequality.test.ts:36:9)
at Object.testIn2Workers (e2e/__tests__/nonSerializableStructuresInequality.test.ts:56:35)
|
processChild › handles circular inequality properly:
undefined#L1
Timed out
at timeoutKill (node_modules/execa/lib/kill.js:65:23)
|
processChild › handles circular inequality properly:
undefined#L1
Timed out
at timeoutKill (node_modules/execa/lib/kill.js:65:23)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L51
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 1`
- Snapshot - 4
+ Received + 44
- "PASS __tests__/a-banana.js
+ "FAIL __tests__/a-banana.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (90%) not met: 50%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../not-covered.js');
+ | ^
+ 2 | test('banana', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a-banana.js:1:29)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/not-covered.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:409:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)"
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:51:16)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L52
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:52:19)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L53
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if coverage threshold is not met: stdout 1`
- Snapshot - 6
+ Received + 5
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 50 | 100 | 0 | 50 |
- not-covered.js | 50 | 100 | 0 | 50 | 2
+ All files | 0 | 0 | 0 | 0 |
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:53:18)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L90
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 1`
- Snapshot - 3
+ Received + 44
- "PASS __tests__/banana.test.js
- ✓ banana
-
+ "FAIL __tests__/banana.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:409:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)
Jest: Coverage data for apple.js was not found."
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:90:16)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L91
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:91:19)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L92
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if path threshold group is not found in coverage data: stdout 1`
- Snapshot - 6
+ Received + 5
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- banana.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:92:18)
|
exits with 0 if global threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageThreshold.test.ts:128:20)
|
excludes tests matched by path threshold groups from global group:
e2e/__tests__/coverageThreshold.test.ts#L174
expect(received).toMatchSnapshot()
Snapshot name: `excludes tests matched by path threshold groups from global group 1`
- Snapshot - 4
+ Received + 63
- "PASS __tests__/banana.test.js
+ "FAIL __tests__/banana.test.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (100%) not met: 0%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:409:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:internal/modules/helpers:177:18)
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/apple.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:409:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1364:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
+ at Module.load (node:internal/modules/cjs/loader:1203:32)
+ at Module._load (node:internal/modules/cjs/loader:1019:12)
+ at Module.require (node:internal/modules/cjs/loader:1231:19)
+ at require (node:inter
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Windows with shard 4/4 / Node v16.x
Final attempt failed. Child_process exited with error code 1
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Windows with shard 4/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Windows with shard 4/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L51
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 1`
- Snapshot - 4
+ Received + 48
- "PASS __tests__/a-banana.js
+ "FAIL __tests__/a-banana.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (90%) not met: 50%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../not-covered.js');
+ | ^
+ 2 | test('banana', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a-banana.js:1:29)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/not-covered.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)"
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:51:16)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L52
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:52:19)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L53
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if coverage threshold is not met: stdout 1`
- Snapshot - 6
+ Received + 5
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 50 | 100 | 0 | 50 |
- not-covered.js | 50 | 100 | 0 | 50 | 2
+ All files | 0 | 0 | 0 | 0 |
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:53:18)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L90
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 1`
- Snapshot - 3
+ Received + 48
- "PASS __tests__/banana.test.js
- ✓ banana
-
+ "FAIL __tests__/banana.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
Jest: Coverage data for apple.js was not found."
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:90:16)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L91
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:91:19)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L92
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if path threshold group is not found in coverage data: stdout 1`
- Snapshot - 6
+ Received + 5
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- banana.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:92:18)
|
exits with 0 if global threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageThreshold.test.ts:128:20)
|
excludes tests matched by path threshold groups from global group:
e2e/__tests__/coverageThreshold.test.ts#L174
expect(received).toMatchSnapshot()
Snapshot name: `excludes tests matched by path threshold groups from global group 1`
- Snapshot - 4
+ Received + 71
- "PASS __tests__/banana.test.js
+ "FAIL __tests__/banana.test.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (100%) not met: 0%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/apple.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+ at Object..js (node:internal/modules/cjs/loader:1699:10)
+ at Module.load (node:internal/modules/cjs/loader:1313:32)
+ at Function._load (node:internal/modules/cjs/loader:1123:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
+ at Module.require (node:internal/modules/cjs/loader:1335:12)
+ at require (node:internal/modules/helpers:136:16)
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1562:14)
+
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L51
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 1`
- Snapshot - 4
+ Received + 44
- "PASS __tests__/a-banana.js
+ "FAIL __tests__/a-banana.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (90%) not met: 50%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../not-covered.js');
+ | ^
+ 2 | test('banana', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a-banana.js:1:29)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/not-covered.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:400:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)"
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:51:16)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L52
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:52:19)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L53
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if coverage threshold is not met: stdout 1`
- Snapshot - 6
+ Received + 5
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 50 | 100 | 0 | 50 |
- not-covered.js | 50 | 100 | 0 | 50 | 2
+ All files | 0 | 0 | 0 | 0 |
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:53:18)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L90
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 1`
- Snapshot - 3
+ Received + 44
- "PASS __tests__/banana.test.js
- ✓ banana
-
+ "FAIL __tests__/banana.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:400:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)
Jest: Coverage data for apple.js was not found."
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:90:16)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L91
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:91:19)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L92
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if path threshold group is not found in coverage data: stdout 1`
- Snapshot - 6
+ Received + 5
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- banana.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:92:18)
|
exits with 0 if global threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageThreshold.test.ts:128:20)
|
excludes tests matched by path threshold groups from global group:
e2e/__tests__/coverageThreshold.test.ts#L174
expect(received).toMatchSnapshot()
Snapshot name: `excludes tests matched by path threshold groups from global group 1`
- Snapshot - 4
+ Received + 63
- "PASS __tests__/banana.test.js
+ "FAIL __tests__/banana.test.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (100%) not met: 0%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/apple.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:400:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cjs/loader:1311:19)
+ at require (node:internal/modules/helpers:179:18)
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:400:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1469:14)
+ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
+ at Module.load (node:internal/modules/cjs/loader:1288:32)
+ at Module._load (node:internal/modules/cjs/loader:1104:12)
+ at Module.require (node:internal/modules/cj
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Windows with shard 4/4 / Node v23.x
Final attempt failed. Child_process exited with error code 1
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L51
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 1`
- Snapshot - 4
+ Received + 48
- "PASS __tests__/a-banana.js
+ "FAIL __tests__/a-banana.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (90%) not met: 50%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | require('../not-covered.js');
+ | ^
+ 2 | test('banana', () => expect(1).toBe(1));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/a-banana.js:1:29)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/not-covered.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at require (node:internal/modules/helpers:135:16)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at require (node:internal/modules/helpers:135:16)"
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:51:16)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L52
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if coverage threshold is not met 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:52:19)
|
exits with 1 if coverage threshold is not met:
e2e/__tests__/coverageThreshold.test.ts#L53
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if coverage threshold is not met: stdout 1`
- Snapshot - 6
+ Received + 5
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 50 | 100 | 0 | 50 |
- not-covered.js | 50 | 100 | 0 | 50 | 2
+ All files | 0 | 0 | 0 | 0 |
- ----------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:53:18)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L90
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 1`
- Snapshot - 3
+ Received + 48
- "PASS __tests__/banana.test.js
- ✓ banana
-
+ "FAIL __tests__/banana.test.js
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at require (node:internal/modules/helpers:135:16)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at require (node:internal/modules/helpers:135:16)
Jest: Coverage data for apple.js was not found."
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:90:16)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L91
expect(received).toMatchSnapshot()
Snapshot name: `exits with 1 if path threshold group is not found in coverage data 2`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 1 passed, 1 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:91:19)
|
exits with 1 if path threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L92
expect(received).toMatchSnapshot(hint)
Snapshot name: `exits with 1 if path threshold group is not found in coverage data: stdout 1`
- Snapshot - 6
+ Received + 5
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- banana.js | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- -----------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageThreshold.test.ts:92:18)
|
exits with 0 if global threshold group is not found in coverage data:
e2e/__tests__/coverageThreshold.test.ts#L128
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/coverageThreshold.test.ts:128:20)
|
excludes tests matched by path threshold groups from global group:
e2e/__tests__/coverageThreshold.test.ts#L174
expect(received).toMatchSnapshot()
Snapshot name: `excludes tests matched by path threshold groups from global group 1`
- Snapshot - 4
+ Received + 71
- "PASS __tests__/banana.test.js
+ "FAIL __tests__/banana.test.js
- ✓ banana
-
- Jest: "global" coverage threshold for lines (100%) not met: 0%"
+ ● Test suite failed to run
+
+ TypeError: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+
+ > 1 | const banana = require('../banana.js');
+ | ^
+ 2 | test('banana', () => expect(banana()).toBe(3));
+
+ at Object.<anonymous> (../../node_modules/test-exclude/index.js:5:14)
+ at loadCodeDefault.next (<anonymous>)
+ at requireModule.next (<anonymous>)
+ at loadPlugin.next (<anonymous>)
+ at createDescriptor.next (<anonymous>)
+ at Array.map (<anonymous>)
+ at createDescriptors.next (<anonymous>)
+ at createPluginDescriptors.next (<anonymous>)
+ at cachedFunction.next (<anonymous>)
+ at mergeChainOpts.next (<anonymous>)
+ at chainWalker.next (<anonymous>)
+ at buildRootChain.next (<anonymous>)
+ at loadPrivatePartialConfig.next (<anonymous>)
+ at loadFullConfig.next (<anonymous>)
+ at transform.next (<anonymous>)
+ at Object.<anonymous> (__tests__/banana.test.js:1:39)
+
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/apple.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at require (node:internal/modules/helpers:135:16)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js:12:43)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+ at Object..js (node:internal/modules/cjs/loader:1904:10)
+ at Module.load (node:internal/modules/cjs/loader:1473:32)
+ at Function._load (node:internal/modules/cjs/loader:1285:12)
+ at TracingChannel.traceSync (node:diagnostics_channel:322:14)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
+ at Module.require (node:internal/modules/cjs/loader:1495:12)
+ at require (node:internal/modules/helpers:135:16)
+ Failed to collect coverage from /Users/runner/work/jest/jest/e2e/coverage-threshold/banana.js
+ ERROR: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ STACK: TypeError [ERR_INVALID_ARG_TYPE]: [BABEL]: The "original" argument must be of type function. Received an instance of Object (While processing: /Users/runner/work/jest/jest/node_modules/babel-plugin-istanbul/lib/index.js)
+ at promisify (node:internal/util:423:3)
+ at Object.<anonymous> (/Users/runner/work/jest/jest/node_modules/test-exclude/index.js:5:14)
+ at Module._compile (node:internal/modules/cjs/loader:1739:14)
+
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
processChild › handles `Symbol`:
undefined#L1
Timed out
at timeoutKill (node_modules/execa/lib/kill.js:65:23)
|
processChild › handles `Symbol`:
e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\bigint-inequality-test'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/nonSerializableStructuresInequality.test.ts:48:10)
|
processChild › handles functions:
e2e/__tests__/nonSerializableStructuresInequality.test.ts#L36
Process exited
at waitUntil (e2e/__tests__/nonSerializableStructuresInequality.test.ts:36:9)
at Object.testIn2Workers (e2e/__tests__/nonSerializableStructuresInequality.test.ts:98:35)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
instruments and collects coverage for typescript files:
e2e/__tests__/typescriptCoverage.test.ts#L18
expect(received).toMatchSnapshot()
Snapshot name: `instruments and collects coverage for typescript files 1`
- Snapshot - 6
+ Received + 5
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- covered.ts | 100 | 100 | 100 | 100 |
+ All files | 0 | 0 | 0 | 0 |
- ------------|---------|----------|---------|---------|-------------------
+ ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/typescriptCoverage.test.ts:18:18)
|
report test coverage for only changed files:
e2e/__tests__/onlyChanged.test.ts#L156
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:156:18)
|
report test coverage of source on test file change under only changed files:
e2e/__tests__/onlyChanged.test.ts#L196
expect(received).toMatch(expected)
Expected substring: "a.js"
Received string: "----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s·
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |···················
----------|---------|----------|---------|---------|-------------------"
at Object.toMatch (e2e/__tests__/onlyChanged.test.ts:196:18)
|
Node crawler does not pick up symlinked files by default:
e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:36:10)
|
prepare-yarn-cache-ubuntu / Prepare yarn cache for ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Validate Yarn dependencies and constraints
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Node LTS on Ubuntu with leak detection
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Typecheck Examples and Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 1/4 / Node v23.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 1/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (1/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Node LTS on Ubuntu with coverage (1/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (1/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 1/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v22.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (4/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Node LTS on Ubuntu with coverage (4/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (4/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v18.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 1/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (2/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Node LTS on Ubuntu with coverage (2/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (2/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v16.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 1/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v22.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 2/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (3/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Node LTS on Ubuntu with coverage (3/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (3/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
TypeScript Compatibility
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 2/4 / Node LTS using jest-jasmine2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 2/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v18.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 2/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 2/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v16.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 2/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v18.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 3/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v16.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v23.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 2/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v23.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 3/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node LTS using jest-jasmine2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 4/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v22.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 3/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v16.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 4/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 4/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v18.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 4/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v23.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 4/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v22.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Ubuntu with shard 4/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v18.x
Attempt 2 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 2/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|