Skip to content

Commit

Permalink
Update package file and remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrice6713 committed Sep 20, 2021
1 parent 90b0891 commit d8c02ff
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 24 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"lint": "tsdx lint src",
"prepare": "tsdx build"
},
"peerDependencies": {},
"prettier": {
"printWidth": 80,
"semi": true,
Expand All @@ -42,7 +41,7 @@
"@apimatic/core": "^0.6.1",
"@apimatic/schema": "^0.6.0",
"@types/node": "^14.14.27",
"axios": "^0.21.0",
"axios": "^0.21.4",
"detect-node": "^2.0.4",
"form-data": "^3.0.0",
"lodash.flatmap": "^4.5.0",
Expand Down
14 changes: 1 addition & 13 deletions tests/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,23 +67,11 @@ describe('api', () => {
machineDetection: machineDetection
};

console.log(body);
console.log(machineDetection);

try {
const createCallResponse = await controller.createCall(accountId, body);
} catch (e) {
console.log(e);
}


console.log(createCallResponse);
const createCallResponse = await controller.createCall(accountId, body);
expect(createCallResponse.result.applicationId).toEqual(applicationId);
expect(createCallResponse.result.to).toEqual(to);
expect(createCallResponse.result.from).toEqual(from);



// get call state
const callId = createCallResponse.result.callId;
const getCallStateResponse = await controller.getCall(accountId, callId);
Expand Down

0 comments on commit d8c02ff

Please sign in to comment.