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

Commit 660e0ea

Browse files
committed
fix: udate test snapshots
1 parent f69d50c commit 660e0ea

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

packages/c-accordion/tests/__snapshots__/accordion.test.tsx.snap

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ exports[`<CAccordion /> component should render properly 1`] = `
77
>
88
<div
99
data-part="root"
10+
data-scope="accordion"
1011
id="accordion:EMPTY_STRING"
1112
>
1213
<div
1314
class="css-17mg6aq"
1415
data-part="item"
16+
data-scope="accordion"
1517
id="accordion:EMPTY_STRING:item:accordion-item-undefined"
1618
>
1719
<button
@@ -21,6 +23,7 @@ exports[`<CAccordion /> component should render properly 1`] = `
2123
class="css-1oqzxfr"
2224
data-ownedby="accordion:EMPTY_STRING"
2325
data-part="trigger"
26+
data-scope="accordion"
2427
id="accordion:EMPTY_STRING:trigger:accordion-item-undefined"
2528
type="button"
2629
>
@@ -60,6 +63,7 @@ exports[`<CAccordion /> component should render properly 1`] = `
6063
aria-labelledby="accordion:EMPTY_STRING:trigger:accordion-item-undefined"
6164
class="css-13d8nyx"
6265
data-part="content"
66+
data-scope="accordion"
6367
id="accordion:EMPTY_STRING:content:accordion-item-undefined"
6468
role="region"
6569
>
@@ -70,6 +74,7 @@ exports[`<CAccordion /> component should render properly 1`] = `
7074
<div
7175
class="css-17mg6aq"
7276
data-part="item"
77+
data-scope="accordion"
7378
id="accordion:EMPTY_STRING:item:accordion-item-1"
7479
>
7580
<button
@@ -79,6 +84,7 @@ exports[`<CAccordion /> component should render properly 1`] = `
7984
class="css-1oqzxfr"
8085
data-ownedby="accordion:EMPTY_STRING"
8186
data-part="trigger"
87+
data-scope="accordion"
8288
id="accordion:EMPTY_STRING:trigger:accordion-item-1"
8389
type="button"
8490
>
@@ -117,6 +123,7 @@ exports[`<CAccordion /> component should render properly 1`] = `
117123
aria-labelledby="accordion:EMPTY_STRING:trigger:accordion-item-1"
118124
class="css-13d8nyx"
119125
data-part="content"
126+
data-scope="accordion"
120127
id="accordion:EMPTY_STRING:content:accordion-item-1"
121128
role="region"
122129
>
@@ -127,6 +134,7 @@ exports[`<CAccordion /> component should render properly 1`] = `
127134
<div
128135
class="css-17mg6aq"
129136
data-part="item"
137+
data-scope="accordion"
130138
id="accordion:EMPTY_STRING:item:accordion-item-2"
131139
>
132140
<button
@@ -136,6 +144,7 @@ exports[`<CAccordion /> component should render properly 1`] = `
136144
class="css-1oqzxfr"
137145
data-ownedby="accordion:EMPTY_STRING"
138146
data-part="trigger"
147+
data-scope="accordion"
139148
id="accordion:EMPTY_STRING:trigger:accordion-item-2"
140149
type="button"
141150
>
@@ -174,6 +183,7 @@ exports[`<CAccordion /> component should render properly 1`] = `
174183
aria-labelledby="accordion:EMPTY_STRING:trigger:accordion-item-2"
175184
class="css-13d8nyx"
176185
data-part="content"
186+
data-scope="accordion"
177187
id="accordion:EMPTY_STRING:content:accordion-item-2"
178188
role="region"
179189
>

packages/c-checkbox/tests/__snapshots__/c-checkbox.test.ts.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ exports[`should render properly 1`] = `
88
<label
99
class="chakra-checkbox css-1tw369l"
1010
data-part="root"
11+
data-scope="checkbox"
12+
for="input-chakra-checkbox-EMPTY_STRING"
1113
id="root-chakra-checkbox-EMPTY_STRING"
1214
>
1315
<input
14-
aria-checked="false"
15-
aria-disabled="false"
1616
aria-invalid="false"
1717
aria-labelledby="checkbox:EMPTY_STRING:label"
1818
class="chakra-checkbox__input"
1919
data-part="input"
20+
data-scope="checkbox"
2021
defaultchecked="false"
2122
id="input-chakra-checkbox-EMPTY_STRING"
2223
style="border: 0px; height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap; word-wrap: normal;"
@@ -26,6 +27,7 @@ exports[`should render properly 1`] = `
2627
aria-hidden="true"
2728
class="chakra-checkbox__control css-drpdfl"
2829
data-part="control"
30+
data-scope="checkbox"
2931
id="control-chakra-checkbox-EMPTY_STRING"
3032
>
3133
<svg

packages/c-pin-input/tests/__snapshots__/c-pin-input.test.ts.snap

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ exports[`CPinInput should render properly 1`] = `
66
class="chakra-pin-input css-0"
77
data-complete=""
88
data-part="root"
9+
data-scope="pin-input"
910
id="pin-input:0"
1011
>
1112
<input
@@ -16,6 +17,8 @@ exports[`CPinInput should render properly 1`] = `
1617
data-complete=""
1718
data-ownedby="pin-input:0"
1819
data-part="input"
20+
data-scope="pin-input"
21+
defaultvalue=""
1922
id="pin-input:0:0"
2023
inputmode="numeric"
2124
placeholder="o"
@@ -29,6 +32,8 @@ exports[`CPinInput should render properly 1`] = `
2932
data-complete=""
3033
data-ownedby="pin-input:0"
3134
data-part="input"
35+
data-scope="pin-input"
36+
defaultvalue=""
3237
id="pin-input:0:1"
3338
inputmode="numeric"
3439
placeholder="o"
@@ -42,6 +47,8 @@ exports[`CPinInput should render properly 1`] = `
4247
data-complete=""
4348
data-ownedby="pin-input:0"
4449
data-part="input"
50+
data-scope="pin-input"
51+
defaultvalue=""
4552
id="pin-input:0:2"
4653
inputmode="numeric"
4754
placeholder="o"

packages/c-theme-provider/tests/c-theme-provider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ThemeProviderProps } from "@chakra-ui/vue-next"
22
import { render, screen } from "../../test-utils"
33
import { h, defineComponent, inject } from "vue"
4-
import CThemeProvider from "../src/c-theme-provider"
4+
import { CThemeProvider } from "../src/c-theme-provider"
55

66
let blueString: string
77

0 commit comments

Comments
 (0)