File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 44
44
"license" : " MIT" ,
45
45
"dependencies" : {
46
46
"@babel/runtime" : " ^7.12.1" ,
47
- "@testing-library/dom" : " ^7.26.4 "
47
+ "@testing-library/dom" : " ^7.26.6 "
48
48
},
49
49
"devDependencies" : {
50
50
"@testing-library/jest-dom" : " ^5.11.5" ,
Original file line number Diff line number Diff line change 1
1
// TypeScript Version: 3.8
2
2
3
- import { OptionsReceived as PrettyFormatOptions } from 'pretty-format'
4
- import { queries , Queries , BoundFunction } from '@testing-library/dom'
3
+ import {
4
+ queries ,
5
+ Queries ,
6
+ BoundFunction ,
7
+ prettyFormat ,
8
+ } from '@testing-library/dom'
5
9
import { act as reactAct } from 'react-dom/test-utils'
6
10
7
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 ,
19
23
) => void
20
24
rerender : ( ui : React . ReactElement ) => void
21
25
unmount : ( ) => boolean
You can’t perform that action at this time.
0 commit comments