Skip to content

Commit a86d1ea

Browse files
committed
Fix useId tests
TODO: investigate why we can't update snapshots
1 parent cd105c7 commit a86d1ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-dom/src/__tests__/ReactDOMUseId-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ describe('useId', () => {
3737
useState = React.useState;
3838

3939
container = document.createElement('div')
40+
container.setAttribute('id', 'container')
4041
document.body.appendChild(container)
4142

4243
buffer = '';

0 commit comments

Comments
 (0)