Override glob package version globally #14372
Annotations
10 errors and 2 warnings
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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
|
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
|
Set up job
2s
2s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/checkout@v4
3s
3s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Use Node.js 16.x
8s
8s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
install
14s
14s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
build
6s
6s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Get number of CPU cores
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
run tests
3m 52s
3m 52s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Use Node.js 16.x
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Run actions/checkout@v4
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Complete job
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Loading