instance)
.mockImplementationOnce(() => {});
+Icon.mockClear().mockImplementation(({ children, icon }) => (children || {icon}));
+
ConfirmationModal.mockImplementation(({
open,
onCancel,
onConfirm,
+ heading,
}) => (open ? (
- Confirmation modal
+ {heading}