Skip to content

Commit

Permalink
chore: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Dec 16, 2024
1 parent d0c7549 commit 5189e29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/anchor/__tests__/__snapshots__/anchor-link.test.jsx.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`AnchorItem > <slot> > test slot 1`] = `"<div id=\\"title\\"> this is title slot </div>"`;
exports[`AnchorItem > <slot> > test slot 1`] = `"<div id="title"> this is title slot </div>"`;
exports[`AnchorItem > <slot> > test slot 2`] = `"<div id=\\"default\\"> this is children content </div>"`;
exports[`AnchorItem > <slot> > test slot 2`] = `"<div id="default"> this is children content </div>"`;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`AnchorTarget > <slot> > should render default slot 1`] = `
"<h1 id=\\"test-target\\" class=\\"t-anchor__target\\">this is default slots<svg fill=\\"none\\" viewBox=\\"0 0 24 24\\" width=\\"1em\\" height=\\"1em\\" class=\\"t-icon t-icon-file-copy t-anchor__copy\\">
<path fill=\\"currentColor\\" d=\\"M6 1h9.41L21 6.59V19H6V1zm2 2v14h11V9h-6V3H8zm7 .41V7h3.59L15 3.41zM4 5v16h11v2H2V5h2z\\"></path>
"<h1 id="test-target" class="t-anchor__target">this is default slots<svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-file-copy t-anchor__copy">
<path fill="currentColor" d="M6 1h9.41L21 6.59V19H6V1zm2 2v14h11V9h-6V3H8zm7 .41V7h3.59L15 3.41zM4 5v16h11v2H2V5h2z"></path>
</svg></h1>"
`;

0 comments on commit 5189e29

Please sign in to comment.