From 6661561a420ace4d4ca48634f98d0fbc3e1f6f54 Mon Sep 17 00:00:00 2001 From: Artem Malko Date: Thu, 3 Sep 2020 12:18:44 +0700 Subject: [PATCH] Update typings for cleanup --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 09824704..50702ecc 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -47,7 +47,7 @@ export function render( /** * Unmounts React trees that were mounted with render. */ -export function cleanup(): Promise +export function cleanup(): void /** * Simply calls ReactDOMTestUtils.act(cb)