diff --git a/package.json b/package.json index 5e70e568..4a283448 100644 --- a/package.json +++ b/package.json @@ -26,15 +26,15 @@ }, "homepage": "https://github.com/codecov/codecov-node", "dependencies": { - "request": ">=2.42.0", - "urlgrey": ">=0.4.0", - "argv": ">=0.0.2", + "request": "2.74.0", + "urlgrey": "0.4.4", + "argv": "0.0.2", "execSync": "1.0.2" }, "devDependencies": { "expect.js": "0.3.1", - "istanbul": "0.3.2", - "jshint": "2.5.5", - "mocha": "2.2.1" + "istanbul": "0.4.4", + "jshint": "2.9.2", + "mocha": "2.5.3" } } diff --git a/test/upload.js b/test/upload.js index d1b3609e..f91a932c 100644 --- a/test/upload.js +++ b/test/upload.js @@ -13,13 +13,13 @@ describe("Codecov", function(){ it("can get upload to v2", function(done){ codecov.sendToCodecovV2('https://codecov.io', { - token: '473c8c5b-10ee-4d83-86c6-bfd72a185a27', + token: 'f881216b-b5c0-4eb1-8f21-b51887d1d506', commit: 'c739768fcac68144a3a6d82305b9c4106934d31a', branch: 'master' }, 'testing node-'+codecov.version, function(body){ - expect(body).to.contain('http://codecov.io/github/codecov/ci-repo?ref=c739768fcac68144a3a6d82305b9c4106934d31a'); + expect(body).to.contain('http://codecov.io/github/codecov/ci-repo/commit/c739768fcac68144a3a6d82305b9c4106934d31a'); done(); }, function(err){ @@ -30,13 +30,13 @@ describe("Codecov", function(){ it("can get upload to v3", function(done){ codecov.sendToCodecovV3('https://codecov.io', { - token: '473c8c5b-10ee-4d83-86c6-bfd72a185a27', + token: 'f881216b-b5c0-4eb1-8f21-b51887d1d506', commit: 'c739768fcac68144a3a6d82305b9c4106934d31a', branch: 'master' }, 'testing node-'+codecov.version, function(body){ - expect(body).to.contain('http://codecov.io/github/codecov/ci-repo?ref=c739768fcac68144a3a6d82305b9c4106934d31a'); + expect(body).to.contain('http://codecov.io/github/codecov/ci-repo/commit/c739768fcac68144a3a6d82305b9c4106934d31a'); done(); }, function(err){