Skip to content

Commit

Permalink
Fix log assertion in cancels tasks in Scheduler-test (#28562)
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetliquid authored Mar 15, 2024
1 parent 4d85c66 commit 1293047
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 1293047

Please sign in to comment.