mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
test: Adjust Drawer test case (#36964)
This commit is contained in:
parent
e51cd35143
commit
dcc114e042
@ -201,10 +201,7 @@ describe('Drawer', () => {
|
|||||||
|
|
||||||
it('zIndex should work', () => {
|
it('zIndex should work', () => {
|
||||||
const { container } = render(<Drawer getContainer={false} visible zIndex={903} />);
|
const { container } = render(<Drawer getContainer={false} visible zIndex={903} />);
|
||||||
expect(container.querySelector('.ant-drawer-mask')).toHaveStyle({
|
expect(container.querySelector('.ant-drawer')).toHaveStyle({
|
||||||
zIndex: 903,
|
|
||||||
});
|
|
||||||
expect(container.querySelector('.ant-drawer-content-wrapper')).toHaveStyle({
|
|
||||||
zIndex: 903,
|
zIndex: 903,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
"rc-checkbox": "~2.3.0",
|
"rc-checkbox": "~2.3.0",
|
||||||
"rc-collapse": "~3.3.0",
|
"rc-collapse": "~3.3.0",
|
||||||
"rc-dialog": "~8.9.0",
|
"rc-dialog": "~8.9.0",
|
||||||
"rc-drawer": "~5.1.0-alpha.1",
|
"rc-drawer": "~5.1.0",
|
||||||
"rc-dropdown": "~4.0.0",
|
"rc-dropdown": "~4.0.0",
|
||||||
"rc-field-form": "~1.27.0",
|
"rc-field-form": "~1.27.0",
|
||||||
"rc-image": "~5.7.0",
|
"rc-image": "~5.7.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user