@jest/core
Advanced tools
Comparing version 29.4.3 to 29.5.0
@@ -262,3 +262,4 @@ 'use strict'; | ||
watch: globalConfig.watch || globalConfig.watchAll, | ||
watchman: globalConfig.watchman | ||
watchman: globalConfig.watchman, | ||
workerThreads: globalConfig.workerThreads | ||
} | ||
@@ -265,0 +266,0 @@ ); |
@@ -331,7 +331,7 @@ 'use strict'; | ||
const reporters = this._globalConfig.reporters || [['default', {}]]; | ||
let summary = false; | ||
let summaryOptions = null; | ||
for (const [reporter, options] of reporters) { | ||
switch (reporter) { | ||
case 'default': | ||
summary = true; | ||
summaryOptions = options; | ||
verbose | ||
@@ -355,3 +355,3 @@ ? this.addReporter( | ||
case 'summary': | ||
summary = true; | ||
summaryOptions = options; | ||
break; | ||
@@ -372,4 +372,6 @@ default: | ||
} | ||
if (summary) { | ||
this.addReporter(new (_reporters().SummaryReporter)(this._globalConfig)); | ||
if (summaryOptions != null) { | ||
this.addReporter( | ||
new (_reporters().SummaryReporter)(this._globalConfig, summaryOptions) | ||
); | ||
} | ||
@@ -376,0 +378,0 @@ } |
{ | ||
"name": "@jest/core", | ||
"description": "Delightful JavaScript Testing.", | ||
"version": "29.4.3", | ||
"version": "29.5.0", | ||
"main": "./build/index.js", | ||
@@ -15,7 +15,7 @@ "types": "./build/index.d.ts", | ||
"dependencies": { | ||
"@jest/console": "^29.4.3", | ||
"@jest/reporters": "^29.4.3", | ||
"@jest/test-result": "^29.4.3", | ||
"@jest/transform": "^29.4.3", | ||
"@jest/types": "^29.4.3", | ||
"@jest/console": "^29.5.0", | ||
"@jest/reporters": "^29.5.0", | ||
"@jest/test-result": "^29.5.0", | ||
"@jest/transform": "^29.5.0", | ||
"@jest/types": "^29.5.0", | ||
"@types/node": "*", | ||
@@ -27,17 +27,17 @@ "ansi-escapes": "^4.2.1", | ||
"graceful-fs": "^4.2.9", | ||
"jest-changed-files": "^29.4.3", | ||
"jest-config": "^29.4.3", | ||
"jest-haste-map": "^29.4.3", | ||
"jest-message-util": "^29.4.3", | ||
"jest-changed-files": "^29.5.0", | ||
"jest-config": "^29.5.0", | ||
"jest-haste-map": "^29.5.0", | ||
"jest-message-util": "^29.5.0", | ||
"jest-regex-util": "^29.4.3", | ||
"jest-resolve": "^29.4.3", | ||
"jest-resolve-dependencies": "^29.4.3", | ||
"jest-runner": "^29.4.3", | ||
"jest-runtime": "^29.4.3", | ||
"jest-snapshot": "^29.4.3", | ||
"jest-util": "^29.4.3", | ||
"jest-validate": "^29.4.3", | ||
"jest-watcher": "^29.4.3", | ||
"jest-resolve": "^29.5.0", | ||
"jest-resolve-dependencies": "^29.5.0", | ||
"jest-runner": "^29.5.0", | ||
"jest-runtime": "^29.5.0", | ||
"jest-snapshot": "^29.5.0", | ||
"jest-util": "^29.5.0", | ||
"jest-validate": "^29.5.0", | ||
"jest-watcher": "^29.5.0", | ||
"micromatch": "^4.0.4", | ||
"pretty-format": "^29.4.3", | ||
"pretty-format": "^29.5.0", | ||
"slash": "^3.0.0", | ||
@@ -47,4 +47,4 @@ "strip-ansi": "^6.0.0" | ||
"devDependencies": { | ||
"@jest/test-sequencer": "^29.4.3", | ||
"@jest/test-utils": "^29.4.3", | ||
"@jest/test-sequencer": "^29.5.0", | ||
"@jest/test-utils": "^29.5.0", | ||
"@types/exit": "^0.1.30", | ||
@@ -104,3 +104,3 @@ "@types/graceful-fs": "^4.1.3", | ||
}, | ||
"gitHead": "a49c88610e49a3242576160740a32a2fe11161e1" | ||
"gitHead": "39f3beda6b396665bebffab94e8d7c45be30454c" | ||
} |
144915
4826
+ Addedcaniuse-lite@1.0.30001612(transitive)
+ Addedcjs-module-lexer@1.2.3(transitive)
- Removedcaniuse-lite@1.0.30001614(transitive)
- Removedcjs-module-lexer@1.3.1(transitive)
Updated@jest/console@^29.5.0
Updated@jest/reporters@^29.5.0
Updated@jest/test-result@^29.5.0
Updated@jest/transform@^29.5.0
Updated@jest/types@^29.5.0
Updatedjest-changed-files@^29.5.0
Updatedjest-config@^29.5.0
Updatedjest-haste-map@^29.5.0
Updatedjest-message-util@^29.5.0
Updatedjest-resolve@^29.5.0
Updatedjest-runner@^29.5.0
Updatedjest-runtime@^29.5.0
Updatedjest-snapshot@^29.5.0
Updatedjest-util@^29.5.0
Updatedjest-validate@^29.5.0
Updatedjest-watcher@^29.5.0
Updatedpretty-format@^29.5.0