Skip to content

Commit

Permalink
Fix log assertion in Scheduler-test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetliquid committed Mar 15, 2024
1 parent a870b2d commit 527d3a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/scheduler/src/__tests__/Scheduler-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ describe('SchedulerBrowser', () => {
});
runtime.assertLog(['Post Message']);
cancelCallback(task);
runtime.assertLog([]);
runtime.fireMessageEvent();
runtime.assertLog(['Message Event']);
});

it('throws when a task errors then continues in a new event', () => {
Expand Down

0 comments on commit 527d3a9

Please sign in to comment.