Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Merge bec185b into a4764ae
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed May 2, 2016
2 parents a4764ae + bec185b commit 477747e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,5 +1,7 @@
language: node_js
sudo: false
node_js:
- "0.11"
- "node"
script: "make test-travis"
after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls"
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -22,15 +22,15 @@
},
"license": "MIT",
"dependencies": {
"urllib": "~2.5.0",
"utility": "~1.6.0"
"urllib": "~2.9.0",
"utility": "~1.7.1"
},
"devDependencies": {
"autod": "1",
"autod": "2",
"iconv-lite": "~0.4.13",
"istanbul": "~0.4.1",
"mocha": "~2.3.4",
"should": "~7.1.1"
"istanbul": "~0.4.3",
"mocha": "~2.4.5",
"should": "~8.3.1"
},
"engine": {
"node": ">=0.11.13"
Expand Down
3 changes: 2 additions & 1 deletion test/index.test.js
Expand Up @@ -33,7 +33,8 @@ describe('urllib-sync', function () {

it('should request json ok', function () {
var res = urllib.request('http://registry.npm.taobao.org/koa', {
dataType: 'json'
dataType: 'json',
timeout: 30000
});
res.data.name.should.equal('koa');
res.status.should.equal(200);
Expand Down

0 comments on commit 477747e

Please sign in to comment.