jest-config
Advanced tools
Comparing version 12.1.2-alpha.a482b15c to 12.1.3-alpha.6230044c
@@ -22,2 +22,3 @@ /** | ||
bail: false, | ||
browser: false, | ||
cacheDirectory: os.tmpdir(), | ||
@@ -24,0 +25,0 @@ colors: false, |
@@ -123,3 +123,3 @@ /** | ||
config.testRegex = | ||
path.sep + (config.testDirectoryName || '__tests__') + path.sep + | ||
'/' + (config.testDirectoryName || '__tests__') + '/' + | ||
'.*\\.(' + extensions.join('|') + ')$'; | ||
@@ -175,3 +175,5 @@ | ||
const polyfillPath = | ||
Resolver.findNodeModule('babel-polyfill', { basedir: config.rootDir }); | ||
Resolver.findNodeModule('babel-polyfill', { | ||
basedir: config.rootDir }); | ||
if (polyfillPath) { | ||
@@ -185,3 +187,5 @@ config.setupFiles.unshift(polyfillPath);} | ||
const isRNProject = | ||
!!Resolver.findNodeModule('react-native', { basedir: config.rootDir }); | ||
!!Resolver.findNodeModule('react-native', { | ||
basedir: config.rootDir }); | ||
config.preprocessorIgnorePatterns = | ||
@@ -252,2 +256,3 @@ isRNProject ? [] : [constants.NODE_MODULES];} else | ||
case 'bail': | ||
case 'browser': | ||
case 'cache': | ||
@@ -272,2 +277,3 @@ case 'collectCoverage': | ||
case 'persistModuleRegistryBetweenSpecs': | ||
case 'replname': | ||
case 'rootDir': | ||
@@ -274,0 +280,0 @@ case 'updateSnapshot': |
@@ -86,8 +86,8 @@ /** | ||
const status = this._getIcon(test.status); | ||
this._logLine(`${ status } ${ chalk.gray(test.title) }`, indentLevel);} | ||
this._logLine(status + ' ' + chalk.gray(test.title), indentLevel);} | ||
_logLine(str = '', indentLevel = 0) { | ||
const indentation = ' '.repeat(indentLevel); | ||
this._process.stdout.write(`${ indentation }${ str }\n`);}} | ||
_logLine(str, indentLevel) { | ||
const indentation = ' '.repeat(indentLevel || 0); | ||
this._process.stdout.write(indentation + (str || '') + '\n');}} | ||
@@ -94,0 +94,0 @@ |
@@ -55,2 +55,6 @@ /** | ||
if (argv.replname) { | ||
config.replname = argv.replname;} | ||
if (argv.silent) { | ||
@@ -57,0 +61,0 @@ config.silent = true;} |
{ | ||
"name": "jest-config", | ||
"version": "12.1.2-alpha.a482b15c", | ||
"version": "12.1.3-alpha.6230044c", | ||
"repository": { | ||
@@ -13,9 +13,9 @@ "type": "git", | ||
"istanbul": "^0.4.2", | ||
"jest-environment-jsdom": "^12.1.2-alpha.a482b15c", | ||
"jest-environment-node": "^12.1.2-alpha.a482b15c", | ||
"jest-jasmine1": "^12.1.2-alpha.a482b15c", | ||
"jest-jasmine2": "^12.1.2-alpha.a482b15c", | ||
"jest-mock": "^12.1.2-alpha.a482b15c", | ||
"jest-resolve": "^12.1.2-alpha.a482b15c", | ||
"jest-util": "^12.1.2-alpha.a482b15c", | ||
"jest-environment-jsdom": "^12.1.3-alpha.6230044c", | ||
"jest-environment-node": "^12.1.3-alpha.6230044c", | ||
"jest-jasmine1": "^12.1.3-alpha.6230044c", | ||
"jest-jasmine2": "^12.1.3-alpha.6230044c", | ||
"jest-mock": "^12.1.3-alpha.6230044c", | ||
"jest-resolve": "^12.1.3-alpha.6230044c", | ||
"jest-util": "^12.1.3-alpha.6230044c", | ||
"json-stable-stringify": "^1.0.0", | ||
@@ -22,0 +22,0 @@ "node-notifier": "^4.6.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40815
850
+ Addedbrowser-resolve@1.11.3(transitive)
+ Addedjest-environment-jsdom@12.1.3-alpha.6230044c(transitive)
+ Addedjest-environment-node@12.1.3-alpha.6230044c(transitive)
+ Addedjest-haste-map@12.1.3-alpha.6230044c(transitive)
+ Addedjest-jasmine1@12.1.3-alpha.6230044c(transitive)
+ Addedjest-jasmine2@12.1.3-alpha.6230044c(transitive)
+ Addedjest-mock@12.1.3-alpha.6230044c(transitive)
+ Addedjest-resolve@12.1.3-alpha.6230044c(transitive)
+ Addedjest-snapshot@12.1.3-alpha.6230044c(transitive)
+ Addedjest-util@12.1.3-alpha.6230044c(transitive)
- Removedjest-environment-jsdom@12.1.2-alpha.a482b15c(transitive)
- Removedjest-environment-node@12.1.2-alpha.a482b15c(transitive)
- Removedjest-haste-map@12.1.2-alpha.a482b15c(transitive)
- Removedjest-jasmine1@12.1.2-alpha.a482b15c(transitive)
- Removedjest-jasmine2@12.1.2-alpha.a482b15c(transitive)
- Removedjest-mock@12.1.2-alpha.a482b15c(transitive)
- Removedjest-resolve@12.1.2-alpha.a482b15c(transitive)
- Removedjest-snapshot@12.1.2-alpha.a482b15c(transitive)
- Removedjest-util@12.1.2-alpha.a482b15c(transitive)