@jest/types
Advanced tools
+30
-8
@@ -8,3 +8,3 @@ /** | ||
| import * as ProcessModule from 'process'; | ||
| import * as ProcessModule from 'node:process'; | ||
| import {ForegroundColor} from 'chalk'; | ||
@@ -31,2 +31,3 @@ import {CoverageMapData} from 'istanbul-lib-coverage'; | ||
| collectCoverageFrom: string; | ||
| collectTests: boolean; | ||
| color: boolean; | ||
@@ -110,2 +111,3 @@ colors: boolean; | ||
| watchPathIgnorePatterns: Array<string>; | ||
| workerGracefulExitTimeout: number; | ||
| workerIdleMemoryLimit: number | string; | ||
@@ -423,2 +425,3 @@ workerThreads: boolean; | ||
| watchman: boolean; | ||
| workerGracefulExitTimeout: number; | ||
| workerThreads: boolean; | ||
@@ -544,3 +547,4 @@ }; | ||
| | 'setTimeout' | ||
| | 'clearTimeout'; | ||
| | 'clearTimeout' | ||
| | 'Temporal'; | ||
@@ -550,3 +554,9 @@ declare type FakeTimers = GlobalFakeTimersConfig & | ||
| | (FakeTimersConfig & { | ||
| now?: Exclude<FakeTimersConfig['now'], Date>; | ||
| now?: Exclude< | ||
| FakeTimersConfig['now'], | ||
| | Date | ||
| | { | ||
| epochMilliseconds: number; | ||
| } | ||
| >; | ||
| }) | ||
@@ -575,3 +585,4 @@ | LegacyFakeTimersConfig | ||
| /** | ||
| * Sets current system time to be used by fake timers, in milliseconds. | ||
| * Sets current system time to be used by fake timers. Accepts a millisecond | ||
| * timestamp, a `Date`, a `Temporal.Instant`, or a `Temporal.ZonedDateTime`. | ||
| * | ||
@@ -581,3 +592,8 @@ * @defaultValue | ||
| */ | ||
| now?: number | Date; | ||
| now?: | ||
| | number | ||
| | Date | ||
| | { | ||
| epochMilliseconds: number; | ||
| }; | ||
| /** | ||
@@ -666,2 +682,3 @@ * The maximum number of recursive timers that will be run when calling | ||
| collectCoverageFrom: Array<string>; | ||
| collectTests: boolean; | ||
| coverageDirectory: string; | ||
@@ -727,2 +744,3 @@ coveragePathIgnorePatterns?: Array<string>; | ||
| }> | null; | ||
| workerGracefulExitTimeout?: number; | ||
| workerIdleMemoryLimit?: number; | ||
@@ -866,5 +884,7 @@ workerThreads?: boolean; | ||
| clearMocks: boolean; | ||
| collectCoverage: boolean; | ||
| collectCoverageFrom: Array<string>; | ||
| coverageDirectory: string; | ||
| coveragePathIgnorePatterns: Array<string>; | ||
| coverageProvider: CoverageProvider; | ||
| coverageReporters: CoverageReporters; | ||
@@ -907,2 +927,3 @@ cwd: string; | ||
| setupFilesAfterEnv: Array<string>; | ||
| silent?: boolean; | ||
| skipFilter: boolean; | ||
@@ -926,2 +947,3 @@ skipNodeResolution?: boolean; | ||
| unmockedModulePathPatterns?: Array<string>; | ||
| verbose?: boolean; | ||
| waitForUnhandledRejections: boolean; | ||
@@ -1071,3 +1093,5 @@ workerIdleMemoryLimit?: number; | ||
| declare type TestError = Exception | [Exception | undefined, Exception]; | ||
| declare type TestError = | ||
| | Exception | ||
| | [Exception | undefined, Exception | undefined]; | ||
@@ -1160,3 +1184,1 @@ declare type TestFn = | ||
| declare type ValidTestReturnValues = void | undefined; | ||
| export {}; |
+4
-4
| { | ||
| "name": "@jest/types", | ||
| "version": "30.3.0", | ||
| "version": "30.4.0", | ||
| "repository": { | ||
@@ -23,4 +23,4 @@ "type": "git", | ||
| "dependencies": { | ||
| "@jest/pattern": "30.0.1", | ||
| "@jest/schemas": "30.0.5", | ||
| "@jest/pattern": "30.4.0", | ||
| "@jest/schemas": "30.4.0", | ||
| "@types/istanbul-lib-coverage": "^2.0.6", | ||
@@ -35,3 +35,3 @@ "@types/istanbul-reports": "^3.0.4", | ||
| }, | ||
| "gitHead": "efb59c2e81083f8dc941f20d6d20a3af2dc8d068" | ||
| "gitHead": "5cbb21e0b3037edb42e503ec1a1ce80efad40c20" | ||
| } |
31941
1.74%1069
2.2%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated