mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix async test in React reconciler (#26087)
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user