@samitouri / QOS-React / commits / 0ba4698c7b

Fix async test in React reconciler (#26087)

Ming Ye committed Feb 1, 2023 at 16:59 UTC 0ba4698c7b178161ca8d9dded49d69a53ba3497a
1 file changed +1 -3
packages/react-reconciler/src/__tests__/ReactUpdaters-test.internal.js
+1 -3
@@ -255,7 +255,7 @@ describe('updaters', () => {
255 Scheduler.unstable_flushAll();
256 });
257
258 - it('should cover suspense pings', async done => {
258 + it('should cover suspense pings', async () => {
259 let data = null;
260 let resolver = null;
261 let promise = null;
@@ -312,8 +312,6 @@ describe('updaters', () => {
312
313 // Verify no outstanding flushes
314 Scheduler.unstable_flushAll();
315 -
316 - done();
315 });
316
317 it('should cover error handling', async () => {