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.
1 parent 3bc5e8f commit 816c31eCopy full SHA for 816c31e
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