@rwx-research/jest-config
Advanced tools
Comparing version 29.4.300 to 29.5.0
@@ -98,2 +98,3 @@ 'use strict'; | ||
notifyMode: 'failure-change', | ||
openHandlesTimeout: 1000, | ||
passWithNoTests: false, | ||
@@ -132,5 +133,6 @@ prettierPath: 'prettier', | ||
watchPathIgnorePatterns: [], | ||
watchman: true | ||
watchman: true, | ||
workerThreads: false | ||
}; | ||
var _default = defaultOptions; | ||
exports.default = _default; |
/** | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* | ||
@@ -4,0 +4,0 @@ * This source code is licensed under the MIT license found in the |
@@ -209,5 +209,7 @@ 'use strict'; | ||
onlyFailures: options.onlyFailures, | ||
openHandlesTimeout: options.openHandlesTimeout, | ||
outputFile: options.outputFile, | ||
passWithNoTests: options.passWithNoTests, | ||
projects: options.projects, | ||
randomize: options.randomize, | ||
replname: options.replname, | ||
@@ -236,3 +238,4 @@ reporters: options.reporters, | ||
watchman: options.watchman, | ||
workerIdleMemoryLimit: options.workerIdleMemoryLimit | ||
workerIdleMemoryLimit: options.workerIdleMemoryLimit, | ||
workerThreads: options.workerThreads | ||
}), | ||
@@ -266,2 +269,3 @@ projectConfig: Object.freeze({ | ||
modulePaths: options.modulePaths, | ||
openHandlesTimeout: options.openHandlesTimeout, | ||
prettierPath: options.prettierPath, | ||
@@ -268,0 +272,0 @@ resetMocks: options.resetMocks, |
@@ -940,4 +940,6 @@ 'use strict'; | ||
case 'onlyFailures': | ||
case 'openHandlesTimeout': | ||
case 'outputFile': | ||
case 'passWithNoTests': | ||
case 'randomize': | ||
case 'replname': | ||
@@ -965,2 +967,3 @@ case 'resetMocks': | ||
case 'watchman': | ||
case 'workerThreads': | ||
value = oldOptions[key]; | ||
@@ -1056,6 +1059,8 @@ break; | ||
} | ||
newOptions.showSeed = newOptions.showSeed || argv.showSeed; | ||
newOptions.randomize = newOptions.randomize || argv.randomize; | ||
newOptions.showSeed = | ||
newOptions.randomize || newOptions.showSeed || argv.showSeed; | ||
const upperBoundSeedValue = 2 ** 31; | ||
// xoroshiro128plus is used in v8 and is used here (at time of writing) | ||
// bounds are determined by xoroshiro128plus which is used in v8 and is used here (at time of writing) | ||
newOptions.seed = | ||
@@ -1070,3 +1075,3 @@ argv.seed ?? | ||
'Validation Error', | ||
`seed value must be between \`-0x80000000\` and \`0x7fffffff\` inclusive - is ${newOptions.seed}` | ||
`seed value must be between \`-0x80000000\` and \`0x7fffffff\` inclusive - instead it is ${newOptions.seed}` | ||
); | ||
@@ -1073,0 +1078,0 @@ } |
@@ -144,2 +144,3 @@ 'use strict'; | ||
onlyFailures: false, | ||
openHandlesTimeout: 1000, | ||
passWithNoTests: false, | ||
@@ -149,2 +150,3 @@ preset: 'react-native', | ||
projects: ['project-a', 'project-b/'], | ||
randomize: false, | ||
reporters: [ | ||
@@ -220,3 +222,4 @@ 'default', | ||
watchman: true, | ||
workerIdleMemoryLimit: (0, _jestValidate().multipleValidOptions)(0.2, '50%') | ||
workerIdleMemoryLimit: (0, _jestValidate().multipleValidOptions)(0.2, '50%'), | ||
workerThreads: true | ||
}; | ||
@@ -299,2 +302,3 @@ exports.initialOptions = initialOptions; | ||
modulePaths: ['/shared/vendor/modules'], | ||
openHandlesTimeout: 1000, | ||
preset: 'react-native', | ||
@@ -301,0 +305,0 @@ prettierPath: '<rootDir>/node_modules/prettier', |
{ | ||
"name": "@rwx-research/jest-config", | ||
"version": "29.4.300", | ||
"version": "29.5.0", | ||
"repository": { | ||
@@ -33,6 +33,6 @@ "type": "git", | ||
"@babel/core": "^7.11.6", | ||
"@jest/test-sequencer": "^29.4.3", | ||
"@jest/types": "^29.4.3", | ||
"@jest/test-sequencer": "^29.5.0", | ||
"@jest/types": "^29.5.0", | ||
"@rwx-research/abq": "0.1.0-alpha.12", | ||
"babel-jest": "^29.4.3", | ||
"babel-jest": "^29.5.0", | ||
"chalk": "^4.0.0", | ||
@@ -43,13 +43,13 @@ "ci-info": "^3.2.0", | ||
"graceful-fs": "^4.2.9", | ||
"jest-circus": "npm:@rwx-research/jest-circus@29.4.300", | ||
"jest-environment-node": "^29.4.3", | ||
"jest-circus": "npm:@rwx-research/jest-circus@29.5.0", | ||
"jest-environment-node": "^29.5.0", | ||
"jest-get-type": "^29.4.3", | ||
"jest-regex-util": "^29.4.3", | ||
"jest-resolve": "^29.4.3", | ||
"jest-runner": "npm:@rwx-research/jest-runner@29.4.300", | ||
"jest-util": "^29.4.3", | ||
"jest-validate": "^29.4.3", | ||
"jest-resolve": "^29.5.0", | ||
"jest-runner": "npm:@rwx-research/jest-runner@29.5.0", | ||
"jest-util": "^29.5.0", | ||
"jest-validate": "^29.5.0", | ||
"micromatch": "^4.0.4", | ||
"parse-json": "^5.2.0", | ||
"pretty-format": "^29.4.3", | ||
"pretty-format": "^29.5.0", | ||
"slash": "^3.0.0", | ||
@@ -56,0 +56,0 @@ "strip-json-comments": "^3.1.1" |
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
113125
3567
+ Added@rwx-research/jest-circus@29.5.0(transitive)
+ Added@rwx-research/jest-runner@29.5.0(transitive)
- Removed@rwx-research/jest-circus@29.4.300(transitive)
- Removed@rwx-research/jest-runner@29.4.300(transitive)
Updated@jest/test-sequencer@^29.5.0
Updated@jest/types@^29.5.0
Updatedbabel-jest@^29.5.0
Updatedjest-resolve@^29.5.0
Updatedjest-util@^29.5.0
Updatedjest-validate@^29.5.0
Updatedpretty-format@^29.5.0