From 09f3530151a74c85616d33a0956741e746ba2189 Mon Sep 17 00:00:00 2001 From: Matthew Pietz Date: Thu, 6 Mar 2025 22:34:37 -0800 Subject: [PATCH] fix: typings of `ctx.skip()` as `never` (#7608) --- packages/runner/src/types/tasks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runner/src/types/tasks.ts b/packages/runner/src/types/tasks.ts index ae35e5681..f796e4b4b 100644 --- a/packages/runner/src/types/tasks.ts +++ b/packages/runner/src/types/tasks.ts @@ -654,7 +654,7 @@ export interface TestContext { * Mark tests as skipped. All execution after this call will be skipped. * This function throws an error, so make sure you are not catching it accidentally. */ - skip: (note?: string) => void + skip: (note?: string) => never } /** -- 2.51.2