import React from 'react';
import renderer from 'react-test-renderer';
import Loader from '@components/Loader';
import {Container} from '@styles/components/loader';

it('renders correctly', () => {
  const tree = renderer.create(<Loader />).toJSON();
  expect(tree).toMatchSnapshot();
});

test('renders correctly Container', () => {
  const tree = renderer.create(<Container />).toJSON();
  expect(tree).toMatchSnapshot();
});
