Skip to content

Commit

Permalink
fix: enable axios debug, disable gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
Joy Chang committed May 21, 2019
1 parent cd9689d commit 4e86717
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 16 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Node.js client library to use the Watson APIs.

<details>
<summary>Table of Contents</summary>

* [Before you begin](#before-you-begin)
* [Installation](#installation)
* [Usage](#usage)
Expand Down Expand Up @@ -786,12 +786,12 @@ var assistant = new watson.AssistantV1({
## Debug
This library relies on the `request` npm module writted by
[request][request_github] to call the Watson Services. To debug the apps, add
'request' to the `NODE_DEBUG` environment variable:
This library relies on the `axios` npm module written by
[axios](https://github.com/axios/axios) to call the Watson Services. To debug the apps, add
'axios' to the `NODE_DEBUG` environment variable:
```sh
$ NODE_DEBUG='request' node app.js
$ NODE_DEBUG='axios' node app.js
```
where `app.js` is your Node.js file.
Expand Down
47 changes: 38 additions & 9 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"extend": "~3.0.2",
"file-type": "^10.11.0",
"form-data": "^2.3.3",
"ibm-cloud-sdk-core": "^0.2.4",
"ibm-cloud-sdk-core": "^0.2.6",
"isstream": "~0.1.2",
"mime-types": "^2.1.21",
"object.omit": "~3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/compare_comply.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('compare_comply_integration', () => {
done();
})
);
});
}, 10000);
});

describe('comparison', () => {
Expand Down

0 comments on commit 4e86717

Please sign in to comment.