-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Use container instead of container.firstChild for snapshots (#…
- Loading branch information
Showing
38 changed files
with
647 additions
and
579 deletions.
There are no files selected for viewing
24 changes: 13 additions & 11 deletions
24
packages/block-editor/src/components/block-breadcrumb/test/__snapshots__/index.js.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 |
---|---|---|
@@ -1,16 +1,18 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`BlockBreadcrumb should render correctly 1`] = ` | ||
<ul | ||
aria-label="Block breadcrumb" | ||
class="block-editor-block-breadcrumb" | ||
role="list" | ||
> | ||
<li | ||
aria-current="true" | ||
class="block-editor-block-breadcrumb__current" | ||
<div> | ||
<ul | ||
aria-label="Block breadcrumb" | ||
class="block-editor-block-breadcrumb" | ||
role="list" | ||
> | ||
Document | ||
</li> | ||
</ul> | ||
<li | ||
aria-current="true" | ||
class="block-editor-block-breadcrumb__current" | ||
> | ||
Document | ||
</li> | ||
</ul> | ||
</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
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
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
28 changes: 15 additions & 13 deletions
28
packages/components/src/form-toggle/test/__snapshots__/index.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
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
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
Oops, something went wrong.