Skip to content

Commit

Permalink
Fix async test in React reconciler (#26087)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymqy authored Feb 1, 2023
1 parent 8c234c0 commit 0ba4698
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -312,8 +312,6 @@ describe('updaters', () => {

// Verify no outstanding flushes
Scheduler.unstable_flushAll();

done();
});

it('should cover error handling', async () => {
Expand Down

0 comments on commit 0ba4698

Please sign in to comment.