test: update grid (#2502)
parent
0c851369e0
commit
5a0bb6d50e
|
@ -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…
Reference in New Issue