Skip to content

Commit

Permalink
add jest.setTimeout type
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-conway committed May 24, 2024
1 parent d16c136 commit 6c9b3de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/bun-types/test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ declare module "bun:test" {
clearAllMocks(): void;
fn<T extends (...args: any[]) => any>(func?: T): Mock<T>;
setSystemTime(now?: number | Date): void;
setTimeout(milliseconds: number): void;
}
export const jest: Jest;
export namespace jest {
Expand Down

0 comments on commit 6c9b3de

Please sign in to comment.