Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #26 from eddiemoore/updates
Browse files Browse the repository at this point in the history
Updates and Fixing tests
  • Loading branch information
eddiemoore authored Aug 19, 2016
2 parents 9d1b186 + 85c43ca commit 6f21a16
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
8 changes: 4 additions & 4 deletions test/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand All @@ -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){
Expand Down

0 comments on commit 6f21a16

Please sign in to comment.