Fix async test in React reconciler (#26087)

This commit is contained in:
Ming Ye
2023-02-01 09:59:41 +01:00
committed by GitHub
parent 8c234c0de9
commit 0ba4698c7b
@@ -255,7 +255,7 @@ describe('updaters', () => {
Scheduler.unstable_flushAll();
});
it('should cover suspense pings', async done => {
it('should cover suspense pings', async () => {
let data = null;
let resolver = null;
let promise = null;
@@ -312,8 +312,6 @@ describe('updaters', () => {
// Verify no outstanding flushes
Scheduler.unstable_flushAll();
done();
});
it('should cover error handling', async () => {