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 Mar 20, 2022
1 parent 6551423 commit e44ea79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-dom/src/__tests__/ReactDOMUseId-test.js
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 e44ea79

Please sign in to comment.