diff --git a/packages/pf4-component-mapper/src/form-fields/wizard/wizard.js b/packages/pf4-component-mapper/src/form-fields/wizard/wizard.js index e31185a4b..f02c1e90f 100644 --- a/packages/pf4-component-mapper/src/form-fields/wizard/wizard.js +++ b/packages/pf4-component-mapper/src/form-fields/wizard/wizard.js @@ -249,7 +249,7 @@ class Wizard extends React.Component { { title && formOptions.onCancel(formOptions.getState().values) } /> }
diff --git a/packages/pf4-component-mapper/src/tests/wizard/__snapshots__/wizard.test.js.snap b/packages/pf4-component-mapper/src/tests/wizard/__snapshots__/wizard.test.js.snap index 5d1da3884..7c0b84e1f 100644 --- a/packages/pf4-component-mapper/src/tests/wizard/__snapshots__/wizard.test.js.snap +++ b/packages/pf4-component-mapper/src/tests/wizard/__snapshots__/wizard.test.js.snap @@ -67,7 +67,7 @@ exports[` should render correctly and unmount 1`] = ` >
should render correctly and unmount 1`] = ` > should render correctly and unmount 1`] = ` title={null} />, "className": "pf-c-wizard__close", - "onClick": [MockFunction], + "onClick": [Function], "variant": "plain", } } @@ -99,7 +99,7 @@ exports[` should render correctly and unmount 1`] = ` >
} - onClose={[MockFunction]} + onClose={[Function]} title={
Title @@ -1169,7 +1169,7 @@ exports[` should render correctly with custom title and description 1` > should render correctly with custom title and description 1` title={null} />, "className": "pf-c-wizard__close", - "onClick": [MockFunction], + "onClick": [Function], "variant": "plain", } } @@ -1193,7 +1193,7 @@ exports[` should render correctly with custom title and description 1` >