-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fab217d
commit 44f47a8
Showing
3 changed files
with
89 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
src/components/ReleaseAnnouncement/__snapshots__/ReleaseAnnouncement.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`ReleaseAnnouncement > renders 1`] = ` | ||
<div | ||
aria-hidden="true" | ||
data-floating-ui-inert="" | ||
> | ||
<button | ||
aria-controls=":r2:" | ||
aria-expanded="true" | ||
aria-haspopup="dialog" | ||
aria-label="open menu" | ||
class="_button_2a1efe" | ||
data-kind="primary" | ||
data-size="lg" | ||
data-state="open" | ||
role="button" | ||
tabindex="0" | ||
> | ||
Open menu | ||
</button> | ||
</div> | ||
`; | ||
|
||
exports[`ReleaseAnnouncement > renders the component at the bottom of the trigger button 1`] = ` | ||
<div | ||
aria-hidden="true" | ||
data-floating-ui-inert="" | ||
> | ||
<button | ||
aria-controls=":re:" | ||
aria-expanded="true" | ||
aria-haspopup="dialog" | ||
aria-label="open menu" | ||
class="_button_2a1efe" | ||
data-kind="primary" | ||
data-size="lg" | ||
data-state="open" | ||
role="button" | ||
tabindex="0" | ||
> | ||
Open menu | ||
</button> | ||
</div> | ||
`; | ||
|
||
exports[`ReleaseAnnouncement > renders with a long label header and description 1`] = ` | ||
<div | ||
aria-hidden="true" | ||
data-floating-ui-inert="" | ||
> | ||
<button | ||
aria-controls=":r8:" | ||
aria-expanded="true" | ||
aria-haspopup="dialog" | ||
aria-label="open menu" | ||
class="_button_2a1efe" | ||
data-kind="primary" | ||
data-size="lg" | ||
data-state="open" | ||
role="button" | ||
tabindex="0" | ||
> | ||
Open menu | ||
</button> | ||
</div> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters