import React from 'react' import renderer from 'react-test-renderer' import { dark } from 'themes' import { ThemeProvider } from 'styled-components' import { Menu, MenuItem, MenuItemGroup } from 'components/UI' describe('component.UI.Menu', () => { it('should render correctly', () => { const tree = renderer .create( My item 1 My item 2 My item 3 Other item 1 Other item 2 Other item 3 ) .toJSON() expect(tree).toMatchSnapshot() }) })