mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
b1c42a3292
* test: prepare for 17 & 18 diff * test: prepare for 17 & 18 diff * test: update snapshot * test: fix arr check * test: update snapshot * test: update snapshot
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();
|
|
});
|
|
});
|