import React from 'react'; import { shallow } from 'enzyme'; import IntentDetails from '../IntentDetails'; it('renders without crashing', () => { let dummyIntent = { questions:['q1','q2'] } shallow(); });