diff options
-rw-r--r-- | packages/bun-types/bun-test.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/bun-types/bun-test.d.ts b/packages/bun-types/bun-test.d.ts index 1ec84492a..acd06bb72 100644 --- a/packages/bun-types/bun-test.d.ts +++ b/packages/bun-types/bun-test.d.ts @@ -19,11 +19,11 @@ declare module "bun:test" { export function describe(label: string, body: () => void): any; - export function it(label: string, test: () => void | Promise<any>): any; export function test( label: string, - test: (done: () => void) => void | Promise<any>, + test: (done: (err?: any) => void) => void | Promise<any>, ): any; + export { test as it }; export function expect(value: any): Expect; export function afterAll(fn: () => void): void; |