@jest/environment
Advanced tools
Comparing version 30.0.0-alpha.3 to 30.0.0-alpha.4
@@ -124,12 +124,2 @@ /** | ||
/** | ||
* Given the name of a module, use the automatic mocking system to generate a | ||
* mocked version of the module for you. | ||
* | ||
* This is useful when you want to create a manual mock that extends the | ||
* automatic mock's behavior. | ||
* | ||
* @deprecated Use `jest.createMockFromModule()` instead | ||
*/ | ||
genMockFromModule<T = unknown>(moduleName: string): Mocked<T>; | ||
/** | ||
* When mocking time, `Date.now()` will also be mocked. If you for some reason | ||
@@ -274,2 +264,5 @@ * need access to the real current time, you can invoke this function. | ||
* | ||
* `retryImmediately` is the flag to retry the failed test immediately after | ||
* failure | ||
* | ||
* @remarks | ||
@@ -282,2 +275,3 @@ * Only available with `jest-circus` runner. | ||
logErrorsBeforeRetry?: boolean; | ||
retryImmediately?: boolean; | ||
waitBeforeRetry?: number; | ||
@@ -284,0 +278,0 @@ }, |
{ | ||
"name": "@jest/environment", | ||
"version": "30.0.0-alpha.3", | ||
"version": "30.0.0-alpha.4", | ||
"repository": { | ||
@@ -20,6 +20,6 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/fake-timers": "30.0.0-alpha.3", | ||
"@jest/types": "30.0.0-alpha.3", | ||
"@jest/fake-timers": "30.0.0-alpha.4", | ||
"@jest/types": "30.0.0-alpha.4", | ||
"@types/node": "*", | ||
"jest-mock": "30.0.0-alpha.3" | ||
"jest-mock": "30.0.0-alpha.4" | ||
}, | ||
@@ -32,3 +32,3 @@ "engines": { | ||
}, | ||
"gitHead": "e267aff33d105399f2134bad7c8f82285104f3da" | ||
"gitHead": "32b966f988d47a7673d2ef4b92e834dab7d66f07" | ||
} |
Sorry, the diff of this file is not supported yet
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
16408
423
+ Added@jest/fake-timers@30.0.0-alpha.4(transitive)
+ Added@jest/schemas@30.0.0-alpha.4(transitive)
+ Added@jest/types@30.0.0-alpha.4(transitive)
+ Addedjest-message-util@30.0.0-alpha.4(transitive)
+ Addedjest-mock@30.0.0-alpha.4(transitive)
+ Addedjest-regex-util@30.0.0-alpha.4(transitive)
+ Addedjest-util@30.0.0-alpha.4(transitive)
+ Addedpicomatch@4.0.2(transitive)
+ Addedpretty-format@30.0.0-alpha.4(transitive)
- Removed@jest/fake-timers@30.0.0-alpha.3(transitive)
- Removed@jest/schemas@30.0.0-alpha.3(transitive)
- Removed@jest/types@30.0.0-alpha.3(transitive)
- Removedjest-message-util@30.0.0-alpha.3(transitive)
- Removedjest-mock@30.0.0-alpha.3(transitive)
- Removedjest-util@30.0.0-alpha.3(transitive)
- Removedpicomatch@3.0.1(transitive)
- Removedpretty-format@30.0.0-alpha.3(transitive)
Updated@jest/types@30.0.0-alpha.4
Updatedjest-mock@30.0.0-alpha.4