mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
✅ fix test case which fails a lot
This commit is contained in:
parent
59c0cdf3a2
commit
3f4f5864fe
@ -585,9 +585,9 @@ describe('Form', () => {
|
||||
);
|
||||
|
||||
wrapper.find('form').simulate('submit');
|
||||
await delay(50);
|
||||
await delay(100);
|
||||
wrapper.update();
|
||||
|
||||
await delay(100);
|
||||
expect(wrapper.find('.ant-form-item-explain').first().text()).toEqual('Bamboo is good!');
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user