fix test case which fails a lot

This commit is contained in:
afc163 2020-04-13 20:38:31 +08:00
parent 59c0cdf3a2
commit 3f4f5864fe

View File

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