mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 14:44:47 +08:00
502dac12aa
* docs: fix code * feat: lint * feat: prettier * feat: test * feat: review * feat: format html * feat: format html
12 lines
314 B
TypeScript
12 lines
314 B
TypeScript
import React from 'react';
|
|
|
|
import List from '..';
|
|
import { render } from '../../../tests/utils';
|
|
|
|
describe('List', () => {
|
|
it('renders empty list', () => {
|
|
const { container } = render(<List dataSource={[]} renderItem={() => <List.Item />} />);
|
|
expect(container.firstChild).toMatchSnapshot();
|
|
});
|
|
});
|