Skip to content

Commit 0ba4698

Browse files
authored
Fix async test in React reconciler (#26087)
1 parent 8c234c0 commit 0ba4698

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/react-reconciler/src/__tests__/ReactUpdaters-test.internal.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ describe('updaters', () => {
255255
Scheduler.unstable_flushAll();
256256
});
257257

258-
it('should cover suspense pings', async done => {
258+
it('should cover suspense pings', async () => {
259259
let data = null;
260260
let resolver = null;
261261
let promise = null;
@@ -312,8 +312,6 @@ describe('updaters', () => {
312312

313313
// Verify no outstanding flushes
314314
Scheduler.unstable_flushAll();
315-
316-
done();
317315
});
318316

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

0 commit comments

Comments
 (0)