Skip to content

Commit 7486dcb

Browse files
SamVerschuerenjamestalmage
authored andcommitted
add test.failing and add cb to test.serial (#866)
[skip ci]
1 parent 77b55e5 commit 7486dcb

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

index.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ export namespace test {
5555

5656
export function serial(name: string, run: ContextualSerialTest): void;
5757
export function serial(run: ContextualSerialTest): void;
58+
export function failing(name: string, run: ContextualCallbackTest): void;
59+
export function failing(run: ContextualCallbackTest): void;
5860
export function cb(name: string, run: ContextualCallbackTest): void;
5961
export function cb(run: ContextualCallbackTest): void;
6062
export function todo(name: string): void;
@@ -67,6 +69,21 @@ export namespace test.serial {
6769

6870
export const skip: typeof test.serial;
6971
export const only: typeof test.serial;
72+
73+
export function cb(name: string, run: ContextualCallbackTest): void;
74+
export function cb(run: ContextualCallbackTest): void;
75+
}
76+
export namespace test.failing {
77+
export const before: CallbackRunner;
78+
export const after: CallbackRunner;
79+
export const beforeEach: ContextualCallbackRunner;
80+
export const afterEach: ContextualCallbackRunner;
81+
82+
export const skip: typeof test.cb;
83+
export const only: typeof test.cb;
84+
85+
export function cb(name: string, run: ContextualCallbackTest): void;
86+
export function cb(run: ContextualCallbackTest): void;
7087
}
7188
export namespace test.cb {
7289
export const before: CallbackRunner;

0 commit comments

Comments
 (0)