-
Notifications
You must be signed in to change notification settings - Fork 11
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
Showing
3 changed files
with
50 additions
and
40 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
45 changes: 45 additions & 0 deletions
45
src/liquid/components/ld-heading/test/__snapshots__/ld-heading.spec.ts.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,45 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ld-heading renders 1`] = ` | ||
<ld-heading level="1"> | ||
<mock:shadow-root> | ||
<h1 class="ld-heading ld-heading--h1" part="tag"> | ||
<slot></slot> | ||
</h1> | ||
</mock:shadow-root> | ||
Text | ||
</ld-heading> | ||
`; | ||
|
||
exports[`ld-heading renders with visual b level and explicit aria-label 1`] = ` | ||
<ld-heading aria-label="Yolo" level="1" visual-level="b3"> | ||
<mock:shadow-root> | ||
<h1 aria-label="Yolo" class="ld-heading ld-heading--b3" part="tag"> | ||
<slot></slot> | ||
</h1> | ||
</mock:shadow-root> | ||
Text | ||
</ld-heading> | ||
`; | ||
|
||
exports[`ld-heading renders with visual b level and implicit aria-label 1`] = ` | ||
<ld-heading level="1" visual-level="b3"> | ||
<mock:shadow-root> | ||
<h1 aria-label="Text" class="ld-heading ld-heading--b3" part="tag"> | ||
<slot></slot> | ||
</h1> | ||
</mock:shadow-root> | ||
Text | ||
</ld-heading> | ||
`; | ||
|
||
exports[`ld-heading renders with visual level 1`] = ` | ||
<ld-heading level="1" visual-level="h3"> | ||
<mock:shadow-root> | ||
<h1 class="ld-heading ld-heading--h3" part="tag"> | ||
<slot></slot> | ||
</h1> | ||
</mock:shadow-root> | ||
Text | ||
</ld-heading> | ||
`; |
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