import 'react-native';
import { render } from '@testing-library/react-native';
import * as React from 'react';
import { Table, THead, TBody, TFoot, TR, TH, TD, Caption } from '../Table';
it('renders Table', () => {
const { toJSON } = render(
);
expect(toJSON()).toMatchSnapshot();
});
it('renders THead', () => {
const { toJSON } = render();
expect(toJSON()).toMatchSnapshot();
});
it('renders TBody', () => {
const { toJSON } = render();
expect(toJSON()).toMatchSnapshot();
});
it('renders TFoot', () => {
const { toJSON } = render();
expect(toJSON()).toMatchSnapshot();
});
it('renders TH', () => {
const { toJSON } = render(Header | );
expect(toJSON()).toMatchSnapshot();
});
it('renders TR', () => {
const { toJSON } = render(
);
expect(toJSON()).toMatchSnapshot();
});
it('renders TD', () => {
const { toJSON } = render(Column | );
expect(toJSON()).toMatchSnapshot();
});
it('renders Caption', () => {
const { toJSON } = render(Caption);
expect(toJSON()).toMatchSnapshot();
});