diff --git a/tests/Aside.test.js b/tests/Aside.test.js index 17ae37ef..15e32696 100644 --- a/tests/Aside.test.js +++ b/tests/Aside.test.js @@ -2,7 +2,7 @@ import expect from 'expect' import React from 'react' import {renderToStaticMarkup as render} from 'react-dom/server' -import { configure, mount } from 'enzyme' +import { configure, mount, shallow } from 'enzyme' import Adapter from 'enzyme-adapter-react-16' import { spy } from 'sinon' @@ -12,7 +12,7 @@ configure({ adapter: new Adapter() }); describe('AppAside', () => { it('renders aside with class="aside-menu"', () => { - expect(render()) + expect(render()) .toContain('') }); it('calls componentDidMount', () => { @@ -21,4 +21,14 @@ describe('AppAside', () => { const wrapper = mount(