Skip to content

Commit

Permalink
feat: test
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyair committed Sep 2, 2024
1 parent 62bbe3c commit 550ef4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/search.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,7 @@ describe('Cascader.Search', () => {

it('onChange should be triggered when click option with multiple', () => {
const onChange = jest.fn();
const wrapper = mount(
<Cascader checkable options={options} changeOnSelect onChange={onChange} showSearch />,
);
const wrapper = mount(<Cascader checkable options={options} onChange={onChange} showSearch />);
doSearch(wrapper, 'toy');
wrapper.find('.rc-cascader-menu-item').first().simulate('click');
wrapper.find('.rc-cascader-menu-item').first().simulate('mousedown');
Expand Down

0 comments on commit 550ef4e

Please sign in to comment.