import React from 'react'; import App from './App'; import { ShallowWrapper, shallow } from 'enzyme'; // - TODO: Removing out test for now - maps js files are causing issues with current version of typescript. Once typescript is updated, add .test back into file name. describe ('App component', () => { let wrapper: ShallowWrapper; beforeEach(() => { wrapper = shallow(); }); it ('renders a navigation bar', () => { const component = wrapper.find(`[data-test='navigationBar']`); expect(component.length).toBe(1); }); });