import React from 'react';
import renderer from 'react-test-renderer'; // eslint-disable-line import/no-extraneous-dependencies

import Form from './index';

test('Form renders correctly', () => {
  const tree = renderer.create(
    <div>
      <Form
        title="Login"
        backgroundColor="white"
        titleCentered
      >
        form content
      </Form>
    </div>
  ).toJSON();
  expect(tree).toMatchSnapshot();
});
