Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
fix: rename group to describe
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Apr 17, 2019
1 parent 0cf7407 commit e5666d4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,13 @@ export const assert: <Left, Right>(
*/
export const _: any;

/** Same as "it" */
export const test:
| ((fn: () => void) => void)
| ((name?: string, fn?: () => void) => void);

/** The "it" of spec.ts */
export const test: (name: string, fn: () => void) => void;
export const it: typeof test;

/** The "describe" of spec.ts */
export const group: (name: string, fn: () => void) => void;
export const describe: typeof test;

0 comments on commit e5666d4

Please sign in to comment.