Skip to content

Commit

Permalink
Updating 1 unit test for EuiTourStep types.
Browse files Browse the repository at this point in the history
  • Loading branch information
1Copenut committed Nov 23, 2022
1 parent 8c90cd8 commit d1c8e3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('NoDataPopover', () => {
};
const instance = mount(<NoDataPopover {...props} />);
act(() => {
instance.find(EuiTourStep).prop('footerAction')!.props.onClick();
instance.find('button[data-test-subj="noDataPopoverDismissButton"]').simulate('click');
});
instance.setProps({ ...props });
expect(props.storage.set).toHaveBeenCalledWith(expect.any(String), true);
Expand Down

0 comments on commit d1c8e3a

Please sign in to comment.