Skip to content

Commit

Permalink
Stop using Scheduler.log to test double invocations (#29008)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed May 20, 2024
1 parent bf046e8 commit 55dd0b1
Show file tree
Hide file tree
Showing 3 changed files with 322 additions and 213 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ describe('ReactInternalTestUtils', () => {

const root = ReactNoop.createRoot();
await act(() => {
root.render(<App />);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);
});
assertLog(['A', 'B', 'C']);
});
Expand Down
Loading

0 comments on commit 55dd0b1

Please sign in to comment.