mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
test: update case
This commit is contained in:
parent
fa53a98ccb
commit
cdfbdbac1b
@ -87,9 +87,10 @@ describe('Modal', () => {
|
||||
};
|
||||
const { container } = render(<Demo />);
|
||||
fireEvent.click(container.querySelectorAll('#trigger')[0]);
|
||||
// https://github.com/react-component/dialog/pull/434
|
||||
expect(
|
||||
(container.querySelectorAll('.ant-modal')[0] as HTMLDivElement).style.transformOrigin,
|
||||
).toBeTruthy();
|
||||
).toBeFalsy();
|
||||
});
|
||||
|
||||
it('custom mouse position', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user