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 e5253de commit 26718ebCopy full SHA for 26718eb
packages/runner/src/types/tasks.ts
@@ -306,7 +306,7 @@ export interface SuiteCollector<ExtraContext = {}> {
306
on: <T extends keyof SuiteHooks<ExtraContext>>(name: T, ...fn: SuiteHooks<ExtraContext>[T]) => void
307
}
308
309
-export type SuiteFactory<ExtraContext = {}> = (test: (name: string | Function, fn: TestFunction<ExtraContext>) => void) => Awaitable<void>
+export type SuiteFactory<ExtraContext = {}> = (test: TestAPI<ExtraContext>) => Awaitable<void>
310
311
export interface RuntimeContext {
312
tasks: (SuiteCollector | Test)[]
0 commit comments