mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
test: update test case
This commit is contained in:
parent
ed59c7e79e
commit
acc80d8916
@ -101,8 +101,6 @@ describe('Modal', () => {
|
|||||||
'Warning: [antd: Modal] `visible` is removed in v5, please use `open` instead.',
|
'Warning: [antd: Modal] `visible` is removed in v5, please use `open` instead.',
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(document.querySelector('.ant-modal')).toBeTruthy();
|
|
||||||
|
|
||||||
errSpy.mockRestore();
|
errSpy.mockRestore();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user