Skip to content

Commit

Permalink
Fix useId tests
Browse files Browse the repository at this point in the history
TODO: investigate why we can't update snapshots
  • Loading branch information
eps1lon committed Apr 4, 2022
1 parent 78efdc8 commit fcf66db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-dom/src/__tests__/ReactDOMUseId-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('useId', () => {
useState = React.useState;

container = document.createElement('div');
container.setAttribute('id', 'container');
document.body.appendChild(container);

buffer = '';
Expand Down

0 comments on commit fcf66db

Please sign in to comment.