jest-runtime
Advanced tools
Comparing version 14.3.1-alpha.410cb91a to 14.3.2-alpha.83c25417
@@ -20,2 +20,3 @@ /** | ||
const HasteMap = require('jest-haste-map'); | ||
@@ -47,2 +48,3 @@ const ResolverClass = require('jest-resolve'); | ||
const NODE_MODULES = path.sep + 'node_modules' + path.sep; | ||
@@ -151,5 +153,9 @@ const SNAPSHOT_EXTENSION = 'snap'; | ||
options) | ||
{ | ||
utils.createDirectory(config.cacheDirectory); | ||
const instance = Runtime.createHasteMap(config, { | ||
console: options.console, | ||
maxWorkers: options.maxWorkers, | ||
@@ -179,2 +185,3 @@ resetCache: !config.cache }); | ||
cacheDirectory: config.cacheDirectory, | ||
console: options && options.console, | ||
extensions: [SNAPSHOT_EXTENSION].concat(config.moduleFileExtensions), | ||
@@ -646,4 +653,7 @@ ignorePattern, | ||
`jest.unmock('${ moduleName }') was called but automocking is ` + | ||
`disabled. Remove the unnecessary call to "jest.unmock" or enable ` + | ||
`automocking for this test via "jest.enableAutomock();".`); | ||
`disabled. Remove the unnecessary call to \`jest.unmock\` or ` + | ||
`enable automocking for this test via \`jest.enableAutomock();\`. ` + | ||
`This warning is likely a result of a default configuration change ` + | ||
`in Jest 15.\n\n` + | ||
`Release Blog Post: https://facebook.github.io/jest/blog/2016/09/01/jest-15.html`); | ||
@@ -650,0 +660,0 @@ } |
{ | ||
"name": "jest-runtime", | ||
"version": "14.3.1-alpha.410cb91a", | ||
"version": "14.3.2-alpha.83c25417", | ||
"repository": { | ||
@@ -12,13 +12,13 @@ "type": "git", | ||
"babel-core": "^6.11.4", | ||
"babel-jest": "^14.3.1-alpha.410cb91a", | ||
"babel-jest": "^14.3.2-alpha.83c25417", | ||
"babel-plugin-istanbul": "^2.0.0", | ||
"chalk": "^1.1.3", | ||
"graceful-fs": "^4.1.6", | ||
"jest-config": "^14.3.1-alpha.410cb91a", | ||
"jest-file-exists": "^14.3.1-alpha.410cb91a", | ||
"jest-haste-map": "^14.3.1-alpha.410cb91a", | ||
"jest-mock": "^14.3.1-alpha.410cb91a", | ||
"jest-resolve": "^14.3.1-alpha.410cb91a", | ||
"jest-snapshot": "^14.3.1-alpha.410cb91a", | ||
"jest-util": "^14.3.1-alpha.410cb91a", | ||
"jest-config": "^14.3.2-alpha.83c25417", | ||
"jest-file-exists": "^14.3.2-alpha.83c25417", | ||
"jest-haste-map": "^14.3.2-alpha.83c25417", | ||
"jest-mock": "^14.3.2-alpha.83c25417", | ||
"jest-resolve": "^14.3.2-alpha.83c25417", | ||
"jest-snapshot": "^14.3.2-alpha.83c25417", | ||
"jest-util": "^14.3.2-alpha.83c25417", | ||
"json-stable-stringify": "^1.0.0", | ||
@@ -32,5 +32,5 @@ "multimatch": "^2.1.0", | ||
"devDependencies": { | ||
"jest-config": "^14.3.1-alpha.410cb91a", | ||
"jest-environment-node": "^14.3.1-alpha.410cb91a", | ||
"jest-environment-jsdom": "^14.3.1-alpha.410cb91a" | ||
"jest-config": "^14.3.2-alpha.83c25417", | ||
"jest-environment-node": "^14.3.2-alpha.83c25417", | ||
"jest-environment-jsdom": "^14.3.2-alpha.83c25417" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
36104
1018
+ Addedbabel-jest@14.3.2-alpha.83c25417(transitive)
+ Addedbabel-plugin-jest-hoist@14.3.2-alpha.83c25417(transitive)
+ Addedbabel-preset-jest@14.3.2-alpha.83c25417(transitive)
+ Addedjest-config@14.3.2-alpha.83c25417(transitive)
+ Addedjest-diff@14.3.2-alpha.83c25417(transitive)
+ Addedjest-environment-jsdom@14.3.2-alpha.83c25417(transitive)
+ Addedjest-environment-node@14.3.2-alpha.83c25417(transitive)
+ Addedjest-file-exists@14.3.2-alpha.83c25417(transitive)
+ Addedjest-haste-map@14.3.2-alpha.83c25417(transitive)
+ Addedjest-jasmine2@14.3.2-alpha.83c25417(transitive)
+ Addedjest-matcher-utils@14.3.2-alpha.83c25417(transitive)
+ Addedjest-matchers@14.3.2-alpha.83c25417(transitive)
+ Addedjest-mock@14.3.2-alpha.83c25417(transitive)
+ Addedjest-resolve@14.3.2-alpha.83c25417(transitive)
+ Addedjest-snapshot@14.3.2-alpha.83c25417(transitive)
+ Addedjest-util@14.3.2-alpha.83c25417(transitive)
- Removedbabel-jest@14.3.1-alpha.410cb91a(transitive)
- Removedbabel-plugin-jest-hoist@14.3.1-alpha.410cb91a(transitive)
- Removedbabel-preset-jest@14.3.1-alpha.410cb91a(transitive)
- Removedjest-config@14.3.1-alpha.410cb91a(transitive)
- Removedjest-diff@14.3.1-alpha.410cb91a(transitive)
- Removedjest-environment-jsdom@14.3.1-alpha.410cb91a(transitive)
- Removedjest-environment-node@14.3.1-alpha.410cb91a(transitive)
- Removedjest-file-exists@14.3.1-alpha.410cb91a(transitive)
- Removedjest-haste-map@14.3.1-alpha.410cb91a(transitive)
- Removedjest-jasmine2@14.3.1-alpha.410cb91a(transitive)
- Removedjest-matcher-utils@14.3.1-alpha.410cb91a(transitive)
- Removedjest-matchers@14.3.1-alpha.410cb91a(transitive)
- Removedjest-mock@14.3.1-alpha.410cb91a(transitive)
- Removedjest-resolve@14.3.1-alpha.410cb91a(transitive)
- Removedjest-snapshot@14.3.1-alpha.410cb91a(transitive)
- Removedjest-util@14.3.1-alpha.410cb91a(transitive)