created tests for components related to importing from source

This commit is contained in:
GotPPay
2018-04-03 23:45:53 +02:00
parent f64155e061
commit ecb06fd4e2
9 changed files with 2842 additions and 141 deletions

View File

@@ -0,0 +1,10 @@
import React from 'react';
import { shallow } from 'enzyme';
import IntentDetails from '../IntentDetails';
it('renders without crashing', () => {
let dummyIntent = {
questions:['q1','q2']
}
shallow(<IntentDetails selectedIntent={dummyIntent} />);
});