Skip to content

Commit 8bcb881

Browse files
committed
Updated snapshots due to dependency update.
1 parent 78de73c commit 8bcb881

File tree

4 files changed

+556
-235
lines changed

4 files changed

+556
-235
lines changed

packages/pf4-component-mapper/src/tests/__snapshots__/form-fields.test.js.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -856,8 +856,8 @@ exports[`FormFields should render Switch correctly 1`] = `
856856
<input
857857
aria-label=""
858858
aria-labelledby="someIdKey-on"
859-
checked={false}
860859
className="pf-c-switch__input"
860+
defaultChecked={false}
861861
disabled={false}
862862
id="someIdKey"
863863
name="Name of the field"
@@ -1995,8 +1995,8 @@ exports[`FormFields should render disabled Switch correctly 1`] = `
19951995
<input
19961996
aria-label=""
19971997
aria-labelledby="someIdKey-on"
1998-
checked={false}
19991998
className="pf-c-switch__input"
1999+
defaultChecked={false}
20002000
disabled={true}
20012001
id="someIdKey"
20022002
name="Name of the field"
@@ -2162,8 +2162,8 @@ exports[`FormFields should render disabled Switch correctly 2`] = `
21622162
<input
21632163
aria-label=""
21642164
aria-labelledby="someIdKey-on"
2165-
checked={false}
21662165
className="pf-c-switch__input"
2166+
defaultChecked={false}
21672167
disabled={true}
21682168
id="someIdKey"
21692169
name="Name of the field"

packages/pf4-component-mapper/src/tests/__snapshots__/tabs.test.js.snap

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`Tabs component should render tabs correctly 1`] = `
4-
<Tabs
4+
<Component
55
activeKey={0}
6-
className=""
7-
isFilled={false}
8-
isSecondary={false}
9-
leftScrollAriaLabel="Scroll left"
106
onSelect={[Function]}
11-
rightScrollAriaLabel="Scroll right"
12-
variant="div"
137
>
148
<ForwardRef
159
eventKey={0}
@@ -37,5 +31,5 @@ exports[`Tabs component should render tabs correctly 1`] = `
3731
</div>
3832
</div>
3933
</ForwardRef>
40-
</Tabs>
34+
</Component>
4135
`;

packages/pf4-component-mapper/src/tests/wizard/__snapshots__/step-buttons.test.js.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ exports[`<WizardSTepButtons should add custom className to toolbar 1`] = `
88
handleSubmit={[MockFunction]}
99
submitLabel="Submit"
1010
/>
11-
<Button
11+
<Component
1212
onClick={[MockFunction]}
1313
type="button"
1414
variant="secondary"
1515
>
1616
Back
17-
</Button>
18-
<Button
17+
</Component>
18+
<Component
1919
onClick={[MockFunction]}
2020
type="button"
2121
variant="link"
2222
>
2323
Cancel
24-
</Button>
24+
</Component>
2525
</footer>
2626
`;
2727

@@ -33,19 +33,19 @@ exports[`<WizardSTepButtons should render correctly 1`] = `
3333
handleSubmit={[MockFunction]}
3434
submitLabel="Submit"
3535
/>
36-
<Button
36+
<Component
3737
onClick={[MockFunction]}
3838
type="button"
3939
variant="secondary"
4040
>
4141
Back
42-
</Button>
43-
<Button
42+
</Component>
43+
<Component
4444
onClick={[MockFunction]}
4545
type="button"
4646
variant="link"
4747
>
4848
Cancel
49-
</Button>
49+
</Component>
5050
</footer>
5151
`;

0 commit comments

Comments
 (0)