Skip to content

Commit

Permalink
Test intended behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Feb 6, 2023
1 parent c2900ae commit eb4a9f4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2378,11 +2378,7 @@ describe('ReactDOMFizzServer', () => {

ReactDOMClient.hydrateRoot(container, element);
expect(() => {
expect(Scheduler).toFlushAndYield([
'Nay!',
// Missing flushAndYield
// 'Yay!'
]);
expect(Scheduler).toFlushAndYield(['Nay!', 'Yay!']);
}).toErrorDev([]);
});

Expand Down

0 comments on commit eb4a9f4

Please sign in to comment.