File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
types/testing-library__react Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 9
9
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
10
10
// TypeScript Version: 3.0
11
11
12
+ import { OptionsReceived as PrettyFormatOptions } from 'pretty-format' ;
12
13
import { queries , Queries , BoundFunction } from '@testing-library/dom' ;
13
14
import { act as reactAct } from 'react-dom/test-utils' ;
14
15
@@ -17,7 +18,11 @@ export * from '@testing-library/dom';
17
18
export type RenderResult < Q extends Queries = typeof queries > = {
18
19
container : HTMLElement ;
19
20
baseElement : HTMLElement ;
20
- debug : ( baseElement ?: HTMLElement | DocumentFragment | Array < HTMLElement | DocumentFragment > ) => void ;
21
+ debug : (
22
+ baseElement ?: HTMLElement | DocumentFragment | Array < HTMLElement | DocumentFragment > ,
23
+ maxLength ?: number ,
24
+ options ?: PrettyFormatOptions
25
+ ) => void ;
21
26
rerender : ( ui : React . ReactElement ) => void ;
22
27
unmount : ( ) => boolean ;
23
28
asFragment : ( ) => DocumentFragment ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "private" : true ,
3
+ "dependencies" : {
4
+ "pretty-format" : " ^25.1.0"
5
+ }
6
+ }
You can’t perform that action at this time.
0 commit comments