Added the jest-circus package
In jest version before 27, we need to use jest-circus. For 27 and after, jest-circus is the default test runner.
This commit is contained in:
parent
f8210cade8
commit
69dc645f0e
|
@ -32,8 +32,8 @@
|
|||
"jest": "^25.1.0",
|
||||
"jest-each": "25.5.0",
|
||||
"jest-puppeteer": "^4.4.0",
|
||||
"request": "^2.88.2",
|
||||
"node-stream-zip": "^1.13.6"
|
||||
"node-stream-zip": "^1.13.6",
|
||||
"request": "^2.88.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "7.12.8",
|
||||
|
@ -42,6 +42,7 @@
|
|||
"@babel/preset-env": "7.12.7",
|
||||
"@wordpress/eslint-plugin": "7.3.0",
|
||||
"eslint": "^8.1.0",
|
||||
"jest-circus": "25.1.0",
|
||||
"ndb": "^1.1.5",
|
||||
"semver": "^7.3.2"
|
||||
},
|
||||
|
|
|
@ -125,6 +125,7 @@ importers:
|
|||
commander: 4.1.1
|
||||
eslint: ^8.1.0
|
||||
jest: ^25.1.0
|
||||
jest-circus: 25.1.0
|
||||
jest-each: 25.5.0
|
||||
jest-puppeteer: ^4.4.0
|
||||
ndb: ^1.1.5
|
||||
|
@ -152,6 +153,7 @@ importers:
|
|||
'@babel/preset-env': 7.12.7_@babel+core@7.12.9
|
||||
'@wordpress/eslint-plugin': 7.3.0_eslint@8.1.0+typescript@4.2.4
|
||||
eslint: 8.1.0
|
||||
jest-circus: 25.1.0
|
||||
ndb: 1.1.5
|
||||
semver: 7.3.5
|
||||
|
||||
|
@ -13277,6 +13279,30 @@ packages:
|
|||
throat: 6.0.1
|
||||
dev: true
|
||||
|
||||
/jest-circus/25.1.0:
|
||||
resolution: {integrity: sha512-Axlcr2YMxVarMW4SiZhCFCjNKhdF4xF9AIdltyutQOKyyDT795Kl/fzI95O0l8idE51Npj2wDj5GhrV7uEoEJA==}
|
||||
engines: {node: '>= 8.3'}
|
||||
dependencies:
|
||||
'@babel/traverse': 7.16.3
|
||||
'@jest/environment': 25.5.0
|
||||
'@jest/test-result': 25.5.0
|
||||
'@jest/types': 25.5.0
|
||||
chalk: 3.0.0
|
||||
co: 4.6.0
|
||||
expect: 25.5.0
|
||||
is-generator-fn: 2.1.0
|
||||
jest-each: 25.5.0
|
||||
jest-matcher-utils: 25.5.0
|
||||
jest-message-util: 25.5.0
|
||||
jest-snapshot: 25.5.1
|
||||
jest-util: 25.5.0
|
||||
pretty-format: 25.5.0
|
||||
stack-utils: 1.0.5
|
||||
throat: 5.0.0
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/jest-circus/27.3.1:
|
||||
resolution: {integrity: sha512-v1dsM9II6gvXokgqq6Yh2jHCpfg7ZqV4jWY66u7npz24JnhP3NHxI0sKT7+ZMQ7IrOWHYAaeEllOySbDbWsiXw==}
|
||||
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
|
||||
|
|
Loading…
Reference in New Issue