Skip to content

Commit

Permalink
try to fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ddcat1115 committed Oct 27, 2017
1 parent 978a0cb commit b7a7758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tag/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Tag', () => {
expect(wrapper.find('.ant-tag').length).toBe(1);
wrapper.find('.anticon-cross').simulate('click');
expect(onClose).toBeCalled();
await delay(500);
await delay(1000);
wrapper.update();
expect(wrapper.find('.ant-tag').length).toBe(0);
});
Expand All @@ -29,7 +29,7 @@ describe('Tag', () => {
expect(wrapper.find('.anticon-cross').length).toBe(1);
expect(wrapper.find('.ant-tag').length).toBe(1);
wrapper.find('.anticon-cross').simulate('click');
await delay(500);
await delay(1000);
expect(wrapper.find('.ant-tag').length).toBe(1);
});
});

0 comments on commit b7a7758

Please sign in to comment.