import React from 'react';

import renderWithTheme from '../../../testUtils/renderWithTheme';

import { Tab } from '../StyledTabs';

describe('Tab', () => {
  it.each`
    variant
    ${'basic'}
    ${'active'}
    ${'disabled'}
  `('has $variant style', ({ variant }) => {
    const { container } = renderWithTheme(<Tab themeVariant={variant} />);

    expect(container).toMatchSnapshot();
  });
});
