mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 15:59:38 +08:00
8d0bba4dea
* test: New Image Snapshots * circleci apt-get some lib * fix command * set CircleCI NODE_ENV * new test:image * upgrade jest-image-snapshot * needs dist * use jest html report * use now deploy * fix deploy skip * set token * upgrade version * change if * improve imageTest * print node version * revert puppeteer version * fix now fail * test * fix now fail * add if * fix if * add judgement * fix action * rebase * fix test image script * lint ignore * fix lint fail
38 lines
793 B
JavaScript
38 lines
793 B
JavaScript
import React from 'react';
|
|
import { Col, Row } from '..';
|
|
import imageTest from '../../../tests/shared/imageTest';
|
|
|
|
describe('Grid image', () => {
|
|
imageTest(
|
|
<>
|
|
<Row>
|
|
<Col>col</Col>
|
|
</Row>
|
|
<Row>
|
|
<Col>col</Col>
|
|
<Col>col</Col>
|
|
<Col>col</Col>
|
|
<Col>col</Col>
|
|
</Row>
|
|
<Row>
|
|
<Col span={24}>col</Col>
|
|
</Row>
|
|
<Row>
|
|
<Col span={12}>col-12</Col>
|
|
<Col span={12}>col-12</Col>
|
|
</Row>
|
|
<Row>
|
|
<Col span={8}>col-8</Col>
|
|
<Col span={8}>col-8</Col>
|
|
<Col span={8}>col-8</Col>
|
|
</Row>
|
|
<Row>
|
|
<Col span={6}>col-6</Col>
|
|
<Col span={6}>col-6</Col>
|
|
<Col span={6}>col-6</Col>
|
|
<Col span={6}>col-6</Col>
|
|
</Row>
|
|
</>,
|
|
);
|
|
});
|