test: update grid (#2502)

pull/2510/head
zkwolf 4 years ago committed by GitHub
parent 0c851369e0
commit 5a0bb6d50e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,12 +3,24 @@
exports[`Grid renders wrapped Col correctly 1`] = `
<div class="ant-row" style="margin-left: -10px; margin-right: -10px;">
<div>
<div class="ant-col ant-col-12" style="padding-left: 10px; padding-right: 10px;"></div>
<div class="ant-col ant-col-12" style="padding-left: 10px; padding-right: 10px;">
<!---->
</div>
</div>
<div class="ant-col ant-col-12" style="padding-left: 10px; padding-right: 10px;">
<!---->
</div>
<div class="ant-col ant-col-12" style="padding-left: 10px; padding-right: 10px;"></div>
</div>
`;
exports[`Grid should render Col 1`] = `<div class="ant-col ant-col-2"></div>`;
exports[`Grid should render Col 1`] = `
<div class="ant-col ant-col-2">
<!---->
</div>
`;
exports[`Grid should render Row 1`] = `<div class="ant-row"></div>`;
exports[`Grid should render Row 1`] = `
<div class="ant-row">
<!---->
</div>
`;

@ -7,7 +7,7 @@ describe('Grid', () => {
mountTest(Col);
it('should render Col', () => {
const wrapper = mount(Col, {
propsData: {
props: {
span: 2,
},
});

Loading…
Cancel
Save