Skip to content

Commit 00dd1b4

Browse files
committed
refactor: tweaks
1 parent ebeaa7a commit 00dd1b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/Render.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This option allows you to wrap the tested component, passed as the first option
3838
#### `createNodeMock` option
3939

4040
```ts
41-
createNodeMock?: (element: React.Element<any>) => any,
41+
createNodeMock?: (element: React.Element) => unknown,
4242
```
4343

4444
This option allows you to pass `createNodeMock` option to `ReactTestRenderer.create()` method in order to allow for custom mock refs. You can learn more about this option from [React Test Renderer documentation](https://reactjs.org/docs/test-renderer.html#ideas).

0 commit comments

Comments
 (0)