import * as React from 'react';
import SeparatorHorizontal from './SeparatorHorizontal';
import {render} from '@testing-library/react';
import {testA11y} from '../../axe';

describe('SeparatorHorizontal', () => {
  it('render', () => {
    const separator = render(<SeparatorHorizontal />);

    expect(separator.getByRole('separator')).toBeTruthy();
  });

  describe('a11y', () => {
    it('should have no a11y violations', async () => {
      await testA11y(<SeparatorHorizontal />);
    });
  });
});
