Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfuchs committed Sep 9, 2021
1 parent 2161f9f commit 9ab697b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/__tests__/DropdownMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ describe('DropdownMenu', () => {
Component: DropdownMenu,
systemPropArray: [COMMON],
options: {skipAs: true, skipSx: true},
toRender: () => <DropdownMenu items={[]} />
toRender: () => (
<SSRProvider>
<DropdownMenu items={[]} />
</SSRProvider>
)
})

checkExports('DropdownMenu', {
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/__snapshots__/DropdownMenu.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ exports[`DropdownMenu renders consistently 1`] = `
<button
aria-haspopup="true"
aria-labelledby="react-aria-4007736549-1"
aria-labelledby="react-aria-0-1"
className="c0"
id="react-aria-4007736549-1"
id="react-aria-0-1"
onClick={[Function]}
onKeyDown={[Function]}
tabIndex={0}
Expand Down

0 comments on commit 9ab697b

Please sign in to comment.