We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c41be4 + a385669 commit b149671Copy full SHA for b149671
test/integration/assistant.v2.test.js
@@ -2,13 +2,13 @@
2
3
const AssistantV2 = require('../../assistant/v2');
4
const authHelper = require('../resources/auth_helper.js');
5
-
6
-const auth = authHelper.auth.assistant;
7
-auth.version = '2019-03-27';
+const auth = authHelper.auth;
+const describe = authHelper.describe; // this runs describe.skip if there is no auth.js file :)
8
9
describe('assistant v2 integration', function() {
10
- const assistant = new AssistantV2(auth);
11
- const assistant_id = auth.assistant_id;
+ auth.assistant.version = '2019-03-27';
+ const assistant = new AssistantV2(auth.assistant);
+ const assistant_id = auth.assistant.assistant_id;
12
let session_id;
13
14
it('should createSession', function(done) {
0 commit comments