fix test case

This commit is contained in:
zombiej 2020-09-22 11:36:15 +08:00
parent 358c7fa4c4
commit b696579cd4

View File

@ -194,7 +194,7 @@ describe('Form.List', () => {
async function addItem() {
await act(async () => {
operation.add();
await sleep();
await sleep(100);
jest.runAllTimers();
wrapper.update();
});