File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import debugDeep from './helpers/debugDeep';
8
8
import { getQueriesForElement } from './within' ;
9
9
import { setRenderResult } from './screen' ;
10
10
11
- type Options = {
11
+ export type RenderOptions = {
12
12
wrapper ?: React . ComponentType < any > ;
13
13
createNodeMock ?: ( element : React . ReactElement ) => any ;
14
14
} ;
@@ -24,7 +24,7 @@ export type RenderResult = ReturnType<typeof render>;
24
24
*/
25
25
export default function render < T > (
26
26
component : React . ReactElement < T > ,
27
- { wrapper : Wrapper , createNodeMock } : Options = { }
27
+ { wrapper : Wrapper , createNodeMock } : RenderOptions = { }
28
28
) {
29
29
const wrap = ( innerElement : React . ReactElement ) =>
30
30
Wrapper ? < Wrapper > { innerElement } </ Wrapper > : innerElement ;
You can’t perform that action at this time.
0 commit comments