import React from 'react';
import renderer from 'react-test-renderer';
import {StyledButton, Label} from '@styles/components/button';

test('renders correctly StyledButton', () => {
  const tree = renderer
    .create(<StyledButton variant="contained" disabled={true} />)
    .toJSON();
  expect(tree).toMatchSnapshot();
});

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