File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 22
33const AssistantV2 = require ( '../../assistant/v2' ) ;
44const authHelper = require ( '../resources/auth_helper.js' ) ;
5-
6- const auth = authHelper . auth . assistant ;
7- auth . version = '2019-03-27' ;
5+ const auth = authHelper . auth ;
6+ const describe = authHelper . describe ; // this runs describe.skip if there is no auth.js file :)
87
98describe ( 'assistant v2 integration' , function ( ) {
10- const assistant = new AssistantV2 ( auth ) ;
11- const assistant_id = auth . assistant_id ;
9+ auth . assistant . version = '2019-03-27' ;
10+ const assistant = new AssistantV2 ( auth . assistant ) ;
11+ const assistant_id = auth . assistant . assistant_id ;
1212 let session_id ;
1313
1414 it ( 'should createSession' , function ( done ) {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const authHelper = require('../resources/auth_helper.js');
66const auth = authHelper . auth ;
77const describe = authHelper . describe ; // this runs describe.skip if there is no auth.js file :)
88
9- const compare_comply = new CompareComply ( auth . compare_comply ) ;
9+ const compare_comply = auth ? new CompareComply ( auth . compare_comply ) : null ;
1010
1111describe ( 'html conversion' , ( ) => {
1212 test ( 'convertToHtml' , done => {
You can’t perform that action at this time.
0 commit comments