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 19, 2022
1 parent cd105c7 commit a86d1ea
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 a86d1ea

Please sign in to comment.