import React from 'react';
import { create } from 'react-test-renderer';
import { shallowJSON } from '../../src';
import {
Empty,
Button,
MyComponent,
ListItem,
List,
TableHead,
TableHeadCell,
Table,
TableRow,
TableFoot,
TableCell,
TableBody,
} from './FunctionComponent';
describe('Empty', () => {
it('matches snapshot', () => {
expect(shallowJSON(create(
{['A', 'B', 'C'].map((children, index) => (
).toTree()
)
).toMatchSnapshot();
});
});
describe('Table', () => {
it('matches snapshot', () => {
expect(
shallowJSON(
create(