Skip to content

Commit

Permalink
add test.failing and add cb to test.serial (#866)
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
SamVerschueren authored and jamestalmage committed May 25, 2016
1 parent 77b55e5 commit 7486dcb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export namespace test {

export function serial(name: string, run: ContextualSerialTest): void;
export function serial(run: ContextualSerialTest): void;
export function failing(name: string, run: ContextualCallbackTest): void;
export function failing(run: ContextualCallbackTest): void;
export function cb(name: string, run: ContextualCallbackTest): void;
export function cb(run: ContextualCallbackTest): void;
export function todo(name: string): void;
Expand All @@ -67,6 +69,21 @@ export namespace test.serial {

export const skip: typeof test.serial;
export const only: typeof test.serial;

export function cb(name: string, run: ContextualCallbackTest): void;
export function cb(run: ContextualCallbackTest): void;
}
export namespace test.failing {
export const before: CallbackRunner;
export const after: CallbackRunner;
export const beforeEach: ContextualCallbackRunner;
export const afterEach: ContextualCallbackRunner;

export const skip: typeof test.cb;
export const only: typeof test.cb;

export function cb(name: string, run: ContextualCallbackTest): void;
export function cb(run: ContextualCallbackTest): void;
}
export namespace test.cb {
export const before: CallbackRunner;
Expand Down

0 comments on commit 7486dcb

Please sign in to comment.