jest-config
Advanced tools
Comparing version 27.0.0-next.6 to 27.0.0-next.7
@@ -63,2 +63,4 @@ 'use strict'; | ||
computeSha1: false, | ||
enableSymlinks: false, | ||
forceNodeFilesystemAPI: false, | ||
throwOnModuleCollision: false | ||
@@ -65,0 +67,0 @@ }, |
@@ -47,3 +47,3 @@ 'use strict'; | ||
'"browser"' | ||
)} has been deprecated. Please install "browser-resolve" and use the "resolver" option in Jest configuration as shown in the documentation: https://jestjs.io/docs/en/configuration#resolver-string`, | ||
)} has been deprecated. Please install "browser-resolve" and use the "resolver" option in Jest configuration as shown in the documentation: https://jestjs.io/docs/configuration#resolver-string`, | ||
preprocessorIgnorePatterns: options => ` Option ${_chalk().default.bold( | ||
@@ -50,0 +50,0 @@ '"preprocessorIgnorePatterns"' |
@@ -679,3 +679,3 @@ 'use strict'; | ||
) { | ||
var _argv$_; | ||
var _options$haste, _argv$_; | ||
@@ -777,2 +777,7 @@ const {hasDeprecationWarnings} = (0, _jestValidate().validate)( | ||
validateExtensionsToTreatAsEsm(options.extensionsToTreatAsEsm); | ||
if (options.watchman == null) { | ||
options.watchman = _Defaults.default.watchman; | ||
} | ||
const optionKeys = Object.keys(options); | ||
@@ -1183,2 +1188,16 @@ optionKeys.reduce((newOptions, key) => { | ||
}, newOptions); | ||
if ( | ||
options.watchman && | ||
(_options$haste = options.haste) !== null && | ||
_options$haste !== void 0 && | ||
_options$haste.enableSymlinks | ||
) { | ||
throw new (_jestValidate().ValidationError)( | ||
'Validation Error', | ||
'haste.enableSymlinks is incompatible with watchman', | ||
'Either set haste.enableSymlinks to false or do not use watchman' | ||
); | ||
} | ||
newOptions.roots.forEach((root, i) => { | ||
@@ -1185,0 +1204,0 @@ verifyDirectoryExists(root, `roots[${i}]`); |
@@ -84,2 +84,4 @@ 'use strict'; | ||
defaultPlatform: 'ios', | ||
enableSymlinks: false, | ||
forceNodeFilesystemAPI: false, | ||
hasteImplModulePath: '<rootDir>/haste_impl.js', | ||
@@ -86,0 +88,0 @@ platforms: ['ios', 'android'], |
{ | ||
"name": "jest-config", | ||
"version": "27.0.0-next.6", | ||
"version": "27.0.0-next.7", | ||
"repository": { | ||
@@ -26,5 +26,5 @@ "type": "git", | ||
"@babel/core": "^7.1.0", | ||
"@jest/test-sequencer": "^27.0.0-next.6", | ||
"@jest/types": "^27.0.0-next.3", | ||
"babel-jest": "^27.0.0-next.6", | ||
"@jest/test-sequencer": "^27.0.0-next.7", | ||
"@jest/types": "^27.0.0-next.7", | ||
"babel-jest": "^27.0.0-next.7", | ||
"chalk": "^4.0.0", | ||
@@ -34,13 +34,13 @@ "deepmerge": "^4.2.2", | ||
"graceful-fs": "^4.2.4", | ||
"jest-circus": "^27.0.0-next.6", | ||
"jest-environment-jsdom": "^27.0.0-next.6", | ||
"jest-environment-node": "^27.0.0-next.6", | ||
"jest-circus": "^27.0.0-next.7", | ||
"jest-environment-jsdom": "^27.0.0-next.7", | ||
"jest-environment-node": "^27.0.0-next.7", | ||
"jest-get-type": "^27.0.0-next.0", | ||
"jest-jasmine2": "^27.0.0-next.6", | ||
"jest-jasmine2": "^27.0.0-next.7", | ||
"jest-regex-util": "^27.0.0-next.0", | ||
"jest-resolve": "^27.0.0-next.6", | ||
"jest-util": "^27.0.0-next.6", | ||
"jest-validate": "^27.0.0-next.6", | ||
"jest-resolve": "^27.0.0-next.7", | ||
"jest-util": "^27.0.0-next.7", | ||
"jest-validate": "^27.0.0-next.7", | ||
"micromatch": "^4.0.2", | ||
"pretty-format": "^27.0.0-next.6" | ||
"pretty-format": "^27.0.0-next.7" | ||
}, | ||
@@ -63,3 +63,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "974d2f22b7deeb4f683fb38dd1ee3a0e984916df" | ||
"gitHead": "28c763e6be8f57bda89238b95dc801460c2d6601" | ||
} |
131646
4110
Updated@jest/types@^27.0.0-next.7
Updatedbabel-jest@^27.0.0-next.7
Updatedjest-circus@^27.0.0-next.7
Updatedjest-jasmine2@^27.0.0-next.7
Updatedjest-resolve@^27.0.0-next.7
Updatedjest-util@^27.0.0-next.7
Updatedjest-validate@^27.0.0-next.7
Updatedpretty-format@^27.0.0-next.7