chore: use jest-circus (#6163)
This commit is contained in:
Родитель
ca71eddbdb
Коммит
684e31c3a5
|
@ -23,6 +23,8 @@ module.exports = {
|
|||
reporters: ['default', './tmp/tools/jest-gh-reporter.js'],
|
||||
setupFilesAfterEnv: ['<rootDir>/test/globals.ts'],
|
||||
snapshotSerializers: ['<rootDir>/test/newline-snapshot-serializer.ts'],
|
||||
testEnvironment: 'node',
|
||||
testRunner: 'jest-circus/runner',
|
||||
transform: {
|
||||
'^.+\\.(j|t)s$': 'babel-jest',
|
||||
},
|
||||
|
|
|
@ -238,6 +238,7 @@
|
|||
"graphql": "15.0.0",
|
||||
"husky": "4.2.5",
|
||||
"jest": "26.0.1",
|
||||
"jest-circus": "26.0.1",
|
||||
"jest-junit": "10.0.0",
|
||||
"jest-mock-extended": "1.0.8",
|
||||
"jest-silent-reporter": "0.2.1",
|
||||
|
|
29
yarn.lock
29
yarn.lock
|
@ -3140,6 +3140,11 @@ decompress-response@^3.3.0:
|
|||
dependencies:
|
||||
mimic-response "^1.0.0"
|
||||
|
||||
dedent@^0.7.0:
|
||||
version "0.7.0"
|
||||
resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"
|
||||
integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=
|
||||
|
||||
deep-extend@^0.6.0:
|
||||
version "0.6.0"
|
||||
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
|
||||
|
@ -5204,6 +5209,30 @@ jest-changed-files@^26.0.1:
|
|||
execa "^4.0.0"
|
||||
throat "^5.0.0"
|
||||
|
||||
jest-circus@26.0.1:
|
||||
version "26.0.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-26.0.1.tgz#602c412ae8d31c5d436fa84c3a58944b166833fa"
|
||||
integrity sha512-dp20V0Pi1N92Y7+ULPa3tNR9KCG0Sy19NiopyPmo5rNoQ4OGWmuzp1P0q1je2HV3fRD0BYE7wqh8aReGGENfUA==
|
||||
dependencies:
|
||||
"@babel/traverse" "^7.1.0"
|
||||
"@jest/environment" "^26.0.1"
|
||||
"@jest/test-result" "^26.0.1"
|
||||
"@jest/types" "^26.0.1"
|
||||
chalk "^4.0.0"
|
||||
co "^4.6.0"
|
||||
dedent "^0.7.0"
|
||||
expect "^26.0.1"
|
||||
is-generator-fn "^2.0.0"
|
||||
jest-each "^26.0.1"
|
||||
jest-matcher-utils "^26.0.1"
|
||||
jest-message-util "^26.0.1"
|
||||
jest-runtime "^26.0.1"
|
||||
jest-snapshot "^26.0.1"
|
||||
jest-util "^26.0.1"
|
||||
pretty-format "^26.0.1"
|
||||
stack-utils "^2.0.2"
|
||||
throat "^5.0.0"
|
||||
|
||||
jest-cli@^26.0.1:
|
||||
version "26.0.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.0.1.tgz#3a42399a4cbc96a519b99ad069a117d955570cac"
|
||||
|
|
Загрузка…
Ссылка в новой задаче