Skip to content

Commit 09f3530

Browse files
authored
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy