import { create } from 'react-test-renderer';
import Flex from './Flex';
test('Flex renders', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});
test('Flex renders with direction: column', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});
test('Flex renders with specified gap', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});
test('Flex aligns items', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});
test('Flex justifies content', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});
test('Flex.Item renders with specified props', () => {
const tree = create(
,
).toJSON();
expect(tree).toMatchSnapshot();
});