mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
502dac12aa
* docs: fix code * feat: lint * feat: prettier * feat: test * feat: review * feat: format html * feat: format html
16 lines
352 B
TypeScript
16 lines
352 B
TypeScript
import * as React from 'react';
|
|
|
|
import { render } from '../../tests/utils';
|
|
|
|
describe('SetUp.Test', () => {
|
|
it('diff of React 18 & React 17', () => {
|
|
const { container } = render(
|
|
<>
|
|
<div>{['bamboo', '', 'little']}</div>
|
|
<div>{['', '']}</div>
|
|
</>,
|
|
);
|
|
expect(container.childNodes).toMatchSnapshot();
|
|
});
|
|
});
|