We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3bc5e8f + 816c31e commit 514b3c9Copy full SHA for 514b3c9
src/test-reader/test-object/types.ts
@@ -38,9 +38,9 @@ export interface TestHookDefinition {
38
export interface TestDefinition {
39
<T extends Partial<TestFunctionCtx> = TestFunctionCtx>(title: string, fn?: TestFunction<T>): Test;
40
41
- only: <T>(title: string, fn?: TestFunction<T>) => Test;
+ only: <T extends Partial<TestFunctionCtx> = TestFunctionCtx>(title: string, fn?: TestFunction<T>) => Test;
42
43
- skip: <T>(title: string, fn?: TestFunction<T>) => Test;
+ skip: <T extends Partial<TestFunctionCtx> = TestFunctionCtx>(title: string, fn?: TestFunction<T>) => Test;
44
}
45
46
export interface SuiteDefinition {
0 commit comments