Skip to content

Commit 95992b1

Browse files
committed
update typings
1 parent 691b45c commit 95992b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

typings/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ export function render<Q extends Queries>(
4040
options: RenderOptions<Q>,
4141
): RenderResult<Q>
4242

43+
/**
44+
* Renders a test component that calls back to the test.
45+
*/
46+
export function testHook(callback: () => void): void
47+
4348
/**
4449
* Unmounts React trees that were mounted with render.
4550
*/

0 commit comments

Comments
 (0)