Override glob package version globally #14372
Annotations
10 errors and 2 warnings
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
run tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading