diff --git a/client/components/MapText.test.jsx b/client/components/MapText.test.jsx index 929ce8a..22307cd 100644 --- a/client/components/MapText.test.jsx +++ b/client/components/MapText.test.jsx @@ -1,29 +1,13 @@ import React from 'react'; -import { shallow, mount, render } from 'enzyme'; - -import { configure } from 'enzyme'; +import { shallow, mount } from 'enzyme'; import MapText from './MapText'; -import Adapter from 'enzyme-adapter-react-16'; - -configure({ adapter: new Adapter() }); function setup() { - const props = { - imgPath: 'some/image/path/to/a/mock/image', - }; const wrapper = shallow(); return { wrapper }; } describe('MapText Test Suite', () => { - // it('should render without throwing an error', function() { - // expect(shallow().contains(
)).toBe(true); - // }); - - // it('should render to static HTML', function() { - // expect(render().text()).toEqual(); - // }); - it('Should have a ul', () => { const { wrapper } = setup(); expect(wrapper.find('ul').exists()).toBe(true);