reverting the rename

This commit is contained in:
Sunil Pai
2019-05-10 12:18:40 +01:00
parent 6243d19b9c
commit 7aaef6f41f
4 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export function act(callback: Function): void {
});
}
export async function actAsync(cb: () => *): Promise<void> {
export async function actSuspense(cb: () => *): Promise<void> {
const TestUtils = require('react-dom/test-utils');
// $FlowFixMe Flow doens't know about "await act()" yet