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

import Menu from '../Menu';

describe('rendering', () => {
  it('renders menu wrapping menu item', () => {
    const { getByTestId, getByText } = renderWithTheme(
      <Menu data-test-id="menu">Menu Item List</Menu>
    );

    expect(getByTestId('menu')).toBeInTheDocument();
    expect(getByText('Menu Item List')).toBeInTheDocument();
  });
});
