8000 tests: update snapshots · pny-htun/coreui-react@93be61e · GitHub
[go: up one dir, main page]

Skip to content

Commit 93be61e

Browse files
committed
tests: update snapshots
1 parent 40ba59d commit 93be61e

File tree

6 files changed

+8
-13
lines changed

6 files changed

+8
-13
lines changed

packages/coreui-react/src/components/alert/__tests__/__snapshots__/CAlert.spec.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ exports[`CAlert customize 1`] = `
1010
<button
1111
aria-label="Close"
1212
class="btn btn-close"
13+
type="button"
1314
/>
1415
</div>
1516
</div>

packages/coreui-react/src/components/button/__tests__/__snapshots__/CButtonClose.spec.tsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ exports[`CCloseButton customize 1`] = `
66
aria-label="Close"
77
class="btn btn-close btn-close-white bazinga"
88
disabled=""
9+
type="button"
910
>
1011
Test
1112
</button>
@@ -17,6 +18,7 @@ exports[`loads and displays CCloseButton component 1`] = `
1718
<button
1819
aria-label="Close"
1920
class="btn btn-close"
21+
type="button"
2022
>
2123
Test
2224
</button>

packages/coreui-react/src/components/close-button/__tests__/__snapshots__/CCloseButton.spec.tsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ exports[`CCloseButton customize 1`] = `
66
aria-label="Close"
77
class="btn btn-close btn-close-white bazinga"
88
disabled=""
9+
type="button"
910
/>
1011
</div>
1112
`;
@@ -15,6 +16,7 @@ exports[`loads and displays CCloseButton component 1`] = `
1516
<button
1617
aria-label="Close"
1718
class="btn btn-close"
19+
type="button"
1820
/>
1921
</div>
2022
`;

packages/coreui-react/src/components/form/__tests__/__snapshots__/CFormTextarea.spec.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ exports[`CFormTextarea customize 1`] = `
66
class="form-control-plaintext is-invalid is-valid bazinga"
77
disabled=""
88
readonly=""
9+
rows="2"
910
>
1011
Some value
1112
</textarea>

packages/coreui-react/src/components/modal/__tests__/__snapshots__/CModalHeader.spec.tsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ exports[`CModalHeader customize 1`] = `
99
<button
1010
aria-label="Close"
1111
class="btn btn-close"
12+
type="button"
1213
/>
1314
</div>
1415
</div>
@@ -23,6 +24,7 @@ exports[`loads and displays CModalHeader component 1`] = `
2324
<button
2425
aria-label="Close"
2526
class="btn btn-close"
27+
type="button"
2628
/>
2729
</div>
2830
</div>

packages/coreui-react/src/components/toast/__tests__/__snapshots__/CToast.spec.tsx.snap

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,6 @@ exports[`CToast customize 4`] = `
5353
`;
5454

5555
exports[`CToast customize 5`] = `
56-
<div>
57-
<div
58-
aria-atomic="true"
59-
aria-live="assertive"
60-
class="toast fade bg-warning border-0 bazinga showing"
61-
role="alert"
62-
>
63-
Test
64-
</div>
65-
</div>
66-
`;
67-
68-
exports[`CToast customize 6`] = `
6956
<div>
7057
<div
7158
aria-atomic="true"

0 commit comments

Comments
 (0)
0