We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ba1644 commit d8c4612Copy full SHA for d8c4612
types/index.d.ts
@@ -1,7 +1,11 @@
1
// TypeScript Version: 3.8
2
3
-import {OptionsReceived as PrettyFormatOptions} from 'pretty-format'
4
-import {queries, Queries, BoundFunction} from '@testing-library/dom'
+import {
+ queries,
5
+ Queries,
6
+ BoundFunction,
7
+ prettyFormat,
8
+} from '@testing-library/dom'
9
import {act as reactAct} from 'react-dom/test-utils'
10
11
export * from '@testing-library/dom'
@@ -15,7 +19,7 @@ export type RenderResult<Q extends Queries = typeof queries> = {
15
19
| DocumentFragment
16
20
| Array<HTMLElement | DocumentFragment>,
17
21
maxLength?: number,
18
- options?: PrettyFormatOptions,
22
+ options?: prettyFormat.OptionsReceived,
23
) => void
24
rerender: (ui: React.ReactElement) => void
25
unmount: () => boolean
0 commit comments