A class for generic test utility methods
Static
Return a promise to wait for any asynchronous DOM updates. Jest will automatically wait for the Promise chain to complete before ending the test and fail the test if the promise rejects.
await TestUtils.flushPromises(); Copy
await TestUtils.flushPromises();
A class for generic test utility methods