mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
ac5a06027e
This reverts commit ea8ed28209
.
15 lines
351 B
TypeScript
15 lines
351 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();
|
|
});
|
|
});
|