mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
reverting the rename
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user