created tests for components related to importing from source
This commit is contained in:
10
web/src/components/__tests__/IntentDetails.test.js
Normal file
10
web/src/components/__tests__/IntentDetails.test.js
Normal 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} />);
|
||||
});
|
||||
Reference in New Issue
Block a user