jest-config
Advanced tools
Comparing version 13.0.0 to 13.1.0
@@ -26,2 +26,5 @@ /** | ||
coverageCollector: require.resolve('./IstanbulCollector'), | ||
coveragePathIgnorePatterns: [ | ||
utils.replacePathSepForRegex(constants.NODE_MODULES)], | ||
coverageReporters: ['json', 'text', 'lcov', 'clover'], | ||
@@ -28,0 +31,0 @@ globals: {}, |
@@ -235,2 +235,3 @@ /** | ||
case 'coveragePathIgnorePatterns': | ||
case 'modulePathIgnorePatterns': | ||
@@ -237,0 +238,0 @@ case 'preprocessorIgnorePatterns': |
@@ -31,3 +31,3 @@ /** | ||
tests: [], | ||
title: 'Root Suite' }; | ||
title: '' }; | ||
@@ -52,10 +52,7 @@ | ||
return root.suites;} | ||
return root;} | ||
logTestResults(testResults) { | ||
VerboseLogger.groupTestsBySuites(testResults).forEach(suite => | ||
this._logSuite(suite, 0)); | ||
this._logSuite(VerboseLogger.groupTestsBySuites(testResults), 0); | ||
this._logLine();} | ||
@@ -65,13 +62,10 @@ | ||
_logSuite(suite, indentLevel) { | ||
this._logLine(suite.title, indentLevel); | ||
if (suite.title) { | ||
this._logLine(suite.title, indentLevel);} | ||
suite.tests.forEach(test => | ||
this._logTest(test, indentLevel + 1)); | ||
suite.tests.forEach(test => this._logTest(test, indentLevel + 1)); | ||
suite.suites.forEach(suite => this._logSuite(suite, indentLevel + 1));} | ||
suite.suites.forEach(childSuite => | ||
this._logSuite(childSuite, indentLevel + 1));} | ||
_getIcon(status) { | ||
@@ -90,3 +84,3 @@ if (status === 'failed') { | ||
const time = test.duration ? | ||
` (${ test.duration.toFixed(0) } ms)` : | ||
` (${ test.duration.toFixed(0) }ms)` : | ||
''; | ||
@@ -93,0 +87,0 @@ this._logLine(status + ' ' + chalk.gray(test.title + time), indentLevel);} |
{ | ||
"name": "jest-config", | ||
"version": "13.0.0", | ||
"version": "13.1.0", | ||
"repository": { | ||
@@ -13,9 +13,9 @@ "type": "git", | ||
"istanbul": "^0.4.2", | ||
"jest-environment-jsdom": "^13.0.0", | ||
"jest-environment-node": "^13.0.0", | ||
"jest-jasmine1": "^13.0.0", | ||
"jest-jasmine2": "^13.0.0", | ||
"jest-environment-jsdom": "^13.1.0", | ||
"jest-environment-node": "^13.1.0", | ||
"jest-jasmine1": "^13.1.0", | ||
"jest-jasmine2": "^13.1.0", | ||
"jest-mock": "^13.0.0", | ||
"jest-resolve": "^13.0.0", | ||
"jest-util": "^13.0.0", | ||
"jest-util": "^13.1.0", | ||
"json-stable-stringify": "^1.0.0", | ||
@@ -22,0 +22,0 @@ "node-notifier": "^4.6.0" |
40876
854
Updatedjest-jasmine1@^13.1.0
Updatedjest-jasmine2@^13.1.0
Updatedjest-util@^13.1.0