import React from 'react';
import { render, cleanup } from '@testing-library/react';
import '@testing-library/jest-dom/extend-expect';
import Arrow from './';

afterEach(cleanup);
test('should take a snapshot', () => {
	const { asFragment } = render(<Arrow />);

	expect(asFragment()).toMatchSnapshot();
});

describe('Tests Arrow', () => {
	test('hide prop', () => {
		const { container } = render(<Arrow hide />);

		expect(container).toBeEmptyDOMElement();
	});
});
