diff --git a/test/unit/components/compose-comment.test.jsx b/test/unit/components/compose-comment.test.jsx index 3056f5c36..c49e9dd75 100644 --- a/test/unit/components/compose-comment.test.jsx +++ b/test/unit/components/compose-comment.test.jsx @@ -3,7 +3,6 @@ const {shallowWithIntl} = require('../../helpers/intl-helpers.jsx'); import {mountWithIntl} from '../../helpers/intl-helpers.jsx'; const ComposeComment = require('../../../src/views/preview/comment/compose-comment.jsx'); import configureStore from 'redux-mock-store'; -const PropTypes = require('prop-types'); describe('Compose Comment test', () => { const mockStore = configureStore(); @@ -185,7 +184,7 @@ describe('Compose Comment test', () => { - , {context: {store}} + , {context: {store}} ); // set state on the ComposeComment component, not the wrapper const commentInstance = component.find('ComposeComment').instance();