Skip to content

Commit 09f3530

Browse files
authoredMar 7, 2025··
fix: typings of ctx.skip() as never (#7608)
1 parent 419315b commit 09f3530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/runner/src/types/tasks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ export interface TestContext {
654654
* Mark tests as skipped. All execution after this call will be skipped.
655655
* This function throws an error, so make sure you are not catching it accidentally.
656656
*/
657-
skip: (note?: string) => void
657+
skip: (note?: string) => never
658658
}
659659

660660
/**

0 commit comments

Comments
 (0)