File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint import/no-extraneous-dependencies: ["warn", { "devDependencies": true }] -- Ok */
2
2
3
- // eslint-disable-next-line misc/comment-spacing -- Ok
4
- /// <reference types="jest-extended" />
5
-
6
3
import type { TestingLibraryMatchers } from "@testing-library/jest-dom/matchers" ;
7
4
import type { expect } from "@jest/globals" ;
5
+ import type jestExtended from "jest-extended" ;
6
+
7
+ type JestExtended = typeof jestExtended ;
8
8
9
9
declare module "@jest/expect" {
10
10
export interface Matchers < R >
11
- // eslint-disable-next-line no-undef -- Ok
12
- extends CustomMatchers < R > ,
11
+ extends JestExtended ,
13
12
TestingLibraryMatchers < typeof expect . stringContaining , R > { }
14
13
}
15
-
16
- declare module "next/jest.js" {
17
- export default function nextJest (
18
- options : unknown
19
- ) : ( config : unknown ) => unknown ;
20
- }
Original file line number Diff line number Diff line change
1
+ /// <reference types="jest-extended" />
You can’t perform that action at this time.
0 commit comments