diff options
Diffstat (limited to 'web/src/js/__tests__/components')
-rw-r--r-- | web/src/js/__tests__/components/ContentView/ContentViewOptionsSpec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/src/js/__tests__/components/ContentView/ContentViewOptionsSpec.js b/web/src/js/__tests__/components/ContentView/ContentViewOptionsSpec.js index 0b1e8538..68afb4ec 100644 --- a/web/src/js/__tests__/components/ContentView/ContentViewOptionsSpec.js +++ b/web/src/js/__tests__/components/ContentView/ContentViewOptionsSpec.js @@ -3,6 +3,7 @@ import renderer from 'react-test-renderer' import ContentViewOptions from '../../../components/ContentView/ContentViewOptions' import { Provider } from 'react-redux' import { TFlow, TStore } from '../../ducks/tutils' +import { uploadContent } from '../../../ducks/flows' let tflow = new TFlow() @@ -11,7 +12,7 @@ describe('ContentViewOptions Component', () => { it('should render correctly', () => { let provider = renderer.create( <Provider store={store}> - <ContentViewOptions flow={tflow} message={tflow.response}/> + <ContentViewOptions flow={tflow} message={tflow.response} uploadContent={uploadContent}/> </Provider>), tree = provider.toJSON() expect(tree).toMatchSnapshot() |