Skip to content

Commit

Permalink
test: update testCase
Browse files Browse the repository at this point in the history
  • Loading branch information
mumiao committed Dec 27, 2020
1 parent 69c11cc commit c34d537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Tags.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ describe('Select.Tags', () => {
const wrapper = mount(<Select mode="tags" tokenSeparators={[',']} tagRender={tagRender} />);

wrapper.find('input').simulate('change', { target: { value: '1,A,42' } });
toggleOpen(wrapper);
wrapper.find('span.A').simulate('mousedown');

expectOpen(wrapper, true);
expect(wrapper.find('span.A').length).toBe(1);
Expand Down

0 comments on commit c34d537

Please sign in to comment.