Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 1ec1514

Browse files
fix(c-skip-nav): fix data attribute for CSkipNavContent
1 parent 99dff20 commit 1ec1514

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/c-skip-nav/src/c-skip-nav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
setup(props, { attrs, slots }) {
8989
return () => {
9090
return (
91-
<CBox tabIndex="-1" id={props.id} data-test={FALLBACK_ID} {...attrs}>
91+
<CBox tabIndex="-1" id={props.id} data-testid={FALLBACK_ID} {...attrs}>
9292
{() => getValidChildren(slots)}
9393
</CBox>
9494
)

packages/c-skip-nav/tests/__snapshots__/c-skip-nav.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`CSkipNavContent should render properly 1`] = `
44
<DocumentFragment>
55
<div
6-
class="chakra-box css-1avyp1d"
6+
class="chakra-box css-0"
77
data-testid="chakra-skip-nav"
88
id="chakra-skip-nav"
99
tabindex="-1"
@@ -14,7 +14,7 @@ exports[`CSkipNavContent should render properly 1`] = `
1414
exports[`CSkipNavLink should render properly 1`] = `
1515
<DocumentFragment>
1616
<a
17-
class="css-fkbol"
17+
class="css-cyzxyu"
1818
href="#chakra-skip-nav"
1919
/>
2020
</DocumentFragment>

0 commit comments

Comments
 (0)