diff --git a/packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js b/packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js index bf77868d49508..6b21bfde38b39 100644 --- a/packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js +++ b/packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js @@ -2378,11 +2378,7 @@ describe('ReactDOMFizzServer', () => { ReactDOMClient.hydrateRoot(container, element); expect(() => { - expect(Scheduler).toFlushAndYield([ - 'Nay!', - // Missing flushAndYield - // 'Yay!' - ]); + expect(Scheduler).toFlushAndYield(['Nay!', 'Yay!']); }).toErrorDev([]); });