diff --git a/index.d.ts b/index.d.ts index c72c202ae..dfcaf073d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -732,7 +732,7 @@ export interface SkipInterface { (title: string, macros: OneOrMoreMacros, ...rest: T): void; /** Skip this test. */ - (title: string, macros: OneOrMoreMacros, ...rest: T): void; + (macros: OneOrMoreMacros, ...rest: T): void; } export interface TodoDeclaration { diff --git a/test/ts-types/macros.ts b/test/ts-types/macros.ts index ca0b4dab9..3ed9e3554 100644 --- a/test/ts-types/macros.ts +++ b/test/ts-types/macros.ts @@ -72,4 +72,8 @@ import test, {ExecutionContext, Macro} from '../..'; test((t, input, expected) => { t.is(input.length, expected) }, 'foo', 3); + + test.skip((t, input, expected) => { + t.is(input.length, expected) + }, 'foo', 3); }