chore: add types for date mocking api of jest (#8387)

This commit is contained in:
Dale Seo
2024-02-17 11:05:16 -05:00
committed by GitHub
parent bc74154536
commit 89641f2e4a

View File

@@ -92,6 +92,7 @@ declare module "bun:test" {
interface Jest {
restoreAllMocks(): void;
fn<T extends (...args: any[]) => any>(func?: T): Mock<T>;
setSystemTime(now?: number | Date): void;
}
export const jest: Jest;
export namespace jest {