import React from 'react';
import axe from '../../../../../axe-helper';
import { render } from '@testing-library/react';
import { Tabs } from '../../../organisms/Tabs';
describe('', () => {
const tabButtons = [
{ tabId: 'pineapple', title: '🍍 Pineapple' },
{ tabId: 'kiwi', title: '🥝 Kiwi' },
{ tabId: 'watermelon', title: '🍉 Watermelon' },
];
it('renders the component with no a11y violations', async () => {
const { container } = render(
🍍
🥝
🍉
,
);
expect(container.firstChild).toMatchSnapshot();
const results = await axe(container.innerHTML);
expect(results).toHaveNoViolations();
});
});