Browse Source

try to fix ci

pull/8064/head 3.0.0-alpha.24
ddcat1115 7 years ago
parent
commit
b7a7758f37
  1. 4
      components/tag/__tests__/index.test.js

4
components/tag/__tests__/index.test.js

@ -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);
});
@ -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);
});
});

Loading…
Cancel
Save