mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
fix test case
This commit is contained in:
parent
358c7fa4c4
commit
b696579cd4
@ -194,7 +194,7 @@ describe('Form.List', () => {
|
||||
async function addItem() {
|
||||
await act(async () => {
|
||||
operation.add();
|
||||
await sleep();
|
||||
await sleep(100);
|
||||
jest.runAllTimers();
|
||||
wrapper.update();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user