mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
11 lines
313 B
JavaScript
11 lines
313 B
JavaScript
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();
|
|
});
|
|
});
|