Skip to content

Commit 5d15885

Browse files
committed
fix: For next/jest.js types
1 parent 3b0809d commit 5d15885

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/global-declare.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ declare module "@jest/expect" {
1111
extends JestExtended,
1212
TestingLibraryMatchers<typeof expect.stringContaining, R> {}
1313
}
14+
15+
declare module "next/jest.js" {
16+
export default function nextJest(
17+
options: unknown
18+
): (config: unknown) => unknown;
19+
}

0 commit comments

Comments
 (0)