We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 491bedc commit 6661561Copy full SHA for 6661561
types/index.d.ts
@@ -47,7 +47,7 @@ export function render<Q extends Queries>(
47
/**
48
* Unmounts React trees that were mounted with render.
49
*/
50
-export function cleanup(): Promise<void>
+export function cleanup(): void
51
52
53
* Simply calls ReactDOMTestUtils.act(cb)
0 commit comments