@fast-check/jest
Advanced tools
Comparing version 1.8.1 to 1.8.2
@@ -0,1 +1,10 @@ | ||
# 1.8.2 | ||
_Increase range validity for worker_ | ||
[[Code](https://github.com/dubzzz/fast-check/tree/jest%2Fv1.8.2)][[Diff](https://github.com/dubzzz/fast-check/compare/jest%2Fv1.8.1...jest%2Fv1.8.2)] | ||
## Fixes | ||
- ([PR#4452](https://github.com/dubzzz/fast-check/pull/4996)) Bump: Relax version constraint to allow 0.4.x of worker | ||
# 1.8.1 | ||
@@ -2,0 +11,0 @@ |
@@ -25,3 +25,3 @@ import { readConfigureGlobal } from 'fast-check'; | ||
} | ||
const jestTimeout = timeout !== undefined ? timeout : extractJestGLobalTimeout(); | ||
const jestTimeout = timeout !== undefined ? timeout : extractJestGlobalTimeout(); | ||
if (jestTimeout !== undefined) { | ||
@@ -46,3 +46,3 @@ if (customParams.interruptAfterTimeLimit === undefined) { | ||
} | ||
function extractJestGLobalTimeout() { | ||
function extractJestGlobalTimeout() { | ||
const jestTimeout = globalThis[Symbol.for('TEST_TIMEOUT_SYMBOL')]; | ||
@@ -49,0 +49,0 @@ if (typeof jestTimeout === 'number') { |
@@ -28,3 +28,3 @@ "use strict"; | ||
} | ||
const jestTimeout = timeout !== undefined ? timeout : extractJestGLobalTimeout(); | ||
const jestTimeout = timeout !== undefined ? timeout : extractJestGlobalTimeout(); | ||
if (jestTimeout !== undefined) { | ||
@@ -50,3 +50,3 @@ if (customParams.interruptAfterTimeLimit === undefined) { | ||
exports.buildTestWithPropRunner = buildTestWithPropRunner; | ||
function extractJestGLobalTimeout() { | ||
function extractJestGlobalTimeout() { | ||
const jestTimeout = globalThis[Symbol.for('TEST_TIMEOUT_SYMBOL')]; | ||
@@ -53,0 +53,0 @@ if (typeof jestTimeout === 'number') { |
{ | ||
"name": "@fast-check/jest", | ||
"description": "Property based testing for Jest based on fast-check", | ||
"version": "1.8.1", | ||
"version": "1.8.2", | ||
"type": "commonjs", | ||
@@ -62,3 +62,3 @@ "main": "lib/jest-fast-check.js", | ||
"peerDependencies": { | ||
"@fast-check/worker": ">=0.0.7 <0.4.0", | ||
"@fast-check/worker": ">=0.0.7 <0.5.0", | ||
"@jest/expect": ">=28.0.0", | ||
@@ -76,15 +76,15 @@ "@jest/globals": ">=25.5.2" | ||
"devDependencies": { | ||
"@babel/core": "^7.24.3", | ||
"@babel/preset-env": "^7.24.3", | ||
"@babel/core": "^7.24.5", | ||
"@babel/preset-env": "^7.24.5", | ||
"@babel/preset-typescript": "^7.24.1", | ||
"@fast-check/worker": "0.3.0", | ||
"@fast-check/worker": "0.4.0", | ||
"@jest/expect": "^29.7.0", | ||
"@jest/globals": "^29.7.0", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.11.30", | ||
"@types/node": "^20.12.12", | ||
"babel-jest": "^29.7.0", | ||
"fast-check": "3.17.0", | ||
"fast-check": "3.19.0", | ||
"jest": "^29.7.0", | ||
"jest-jasmine2": "^29.7.0", | ||
"typescript": "~5.4.3" | ||
"typescript": "~5.4.5" | ||
}, | ||
@@ -91,0 +91,0 @@ "keywords": [ |
69190