test: update test case

This commit is contained in:
二货机器人 2022-08-23 23:05:02 +08:00
parent ed59c7e79e
commit acc80d8916

View File

@ -101,8 +101,6 @@ describe('Modal', () => {
'Warning: [antd: Modal] `visible` is removed in v5, please use `open` instead.',
);
expect(document.querySelector('.ant-modal')).toBeTruthy();
errSpy.mockRestore();
});
});