@jest/types
Advanced tools
Comparing version 25.3.0 to 25.4.0
@@ -17,3 +17,3 @@ /** | ||
export declare type TestFn = Global.TestFn; | ||
export declare type HookFn = (done?: DoneFn) => Promise<any> | null | undefined; | ||
export declare type HookFn = Global.HookFn; | ||
export declare type AsyncFn = TestFn | HookFn; | ||
@@ -178,2 +178,1 @@ export declare type SharedHookType = 'afterAll' | 'beforeAll'; | ||
export {}; | ||
//# sourceMappingURL=Circus.d.ts.map |
@@ -420,2 +420,1 @@ /** | ||
export {}; | ||
//# sourceMappingURL=Config.d.ts.map |
@@ -11,5 +11,6 @@ /** | ||
export declare type TestName = string; | ||
export declare type TestFn = (done?: DoneFn) => Promise<any> | void | undefined; | ||
export declare type TestFn = (done?: DoneFn) => Promise<void | undefined | unknown> | void | undefined; | ||
export declare type BlockFn = () => void; | ||
export declare type BlockName = string; | ||
export declare type HookFn = TestFn; | ||
export declare type Col = unknown; | ||
@@ -55,3 +56,3 @@ export declare type Row = Array<Col>; | ||
} | ||
export interface GlobalAdditions { | ||
export interface TestFrameworkGlobals { | ||
it: ItConcurrent; | ||
@@ -67,2 +68,8 @@ test: ItConcurrent; | ||
fdescribe: DescribeBase; | ||
beforeAll: HookFn; | ||
beforeEach: HookFn; | ||
afterEach: HookFn; | ||
afterAll: HookFn; | ||
} | ||
export interface GlobalAdditions extends TestFrameworkGlobals { | ||
__coverage__: CoverageMapData; | ||
@@ -80,2 +87,1 @@ jasmine: Jasmine; | ||
export {}; | ||
//# sourceMappingURL=Global.d.ts.map |
@@ -13,2 +13,1 @@ /** | ||
export type { Circus, Config, Global, TestResult, TransformTypes }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -31,2 +31,1 @@ /** | ||
export {}; | ||
//# sourceMappingURL=TestResult.d.ts.map |
@@ -13,2 +13,1 @@ /** | ||
}; | ||
//# sourceMappingURL=Transform.d.ts.map |
@@ -18,3 +18,3 @@ /// <reference types="node" /> | ||
export declare type TestFn = Global.TestFn; | ||
export declare type HookFn = (done?: DoneFn) => Promise<any> | null | undefined; | ||
export declare type HookFn = Global.HookFn; | ||
export declare type AsyncFn = TestFn | HookFn; | ||
@@ -179,2 +179,1 @@ export declare type SharedHookType = 'afterAll' | 'beforeAll'; | ||
export {}; | ||
//# sourceMappingURL=Circus.d.ts.map |
@@ -421,2 +421,1 @@ /// <reference types="node" /> | ||
export {}; | ||
//# sourceMappingURL=Config.d.ts.map |
@@ -12,5 +12,6 @@ /// <reference types="node" /> | ||
export declare type TestName = string; | ||
export declare type TestFn = (done?: DoneFn) => Promise<any> | void | undefined; | ||
export declare type TestFn = (done?: DoneFn) => Promise<void | undefined | unknown> | void | undefined; | ||
export declare type BlockFn = () => void; | ||
export declare type BlockName = string; | ||
export declare type HookFn = TestFn; | ||
export declare type Col = unknown; | ||
@@ -56,3 +57,3 @@ export declare type Row = Array<Col>; | ||
} | ||
export interface GlobalAdditions { | ||
export interface TestFrameworkGlobals { | ||
it: ItConcurrent; | ||
@@ -68,2 +69,8 @@ test: ItConcurrent; | ||
fdescribe: DescribeBase; | ||
beforeAll: HookFn; | ||
beforeEach: HookFn; | ||
afterEach: HookFn; | ||
afterAll: HookFn; | ||
} | ||
export interface GlobalAdditions extends TestFrameworkGlobals { | ||
__coverage__: CoverageMapData; | ||
@@ -81,2 +88,1 @@ jasmine: Jasmine; | ||
export {}; | ||
//# sourceMappingURL=Global.d.ts.map |
@@ -13,2 +13,1 @@ /** | ||
export { Circus, Config, Global, TestResult, TransformTypes }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -31,2 +31,1 @@ /** | ||
export {}; | ||
//# sourceMappingURL=TestResult.d.ts.map |
@@ -13,2 +13,1 @@ /** | ||
}; | ||
//# sourceMappingURL=Transform.d.ts.map |
{ | ||
"name": "@jest/types", | ||
"version": "25.3.0", | ||
"version": "25.4.0", | ||
"repository": { | ||
@@ -34,3 +34,3 @@ "type": "git", | ||
}, | ||
"gitHead": "45a4936d96d74cdee6b91122a51a556e3ebe6dc8" | ||
"gitHead": "5b129d714cadb818be28afbe313cbeae8fbb1dde" | ||
} |
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
1483
47177
20