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

Commit 6f21a16

Browse files
authored
Merge pull request #26 from eddiemoore/updates
Updates and Fixing tests
2 parents 9d1b186 + 85c43ca commit 6f21a16

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
},
2727
"homepage": "https://github.com/codecov/codecov-node",
2828
"dependencies": {
29-
"request": ">=2.42.0",
30-
"urlgrey": ">=0.4.0",
31-
"argv": ">=0.0.2",
29+
"request": "2.74.0",
30+
"urlgrey": "0.4.4",
31+
"argv": "0.0.2",
3232
"execSync": "1.0.2"
3333
},
3434
"devDependencies": {
3535
"expect.js": "0.3.1",
36-
"istanbul": "0.3.2",
37-
"jshint": "2.5.5",
38-
"mocha": "2.2.1"
36+
"istanbul": "0.4.4",
37+
"jshint": "2.9.2",
38+
"mocha": "2.5.3"
3939
}
4040
}

test/upload.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ describe("Codecov", function(){
1313
it("can get upload to v2", function(done){
1414
codecov.sendToCodecovV2('https://codecov.io',
1515
{
16-
token: '473c8c5b-10ee-4d83-86c6-bfd72a185a27',
16+
token: 'f881216b-b5c0-4eb1-8f21-b51887d1d506',
1717
commit: 'c739768fcac68144a3a6d82305b9c4106934d31a',
1818
branch: 'master'
1919
},
2020
'testing node-'+codecov.version,
2121
function(body){
22-
expect(body).to.contain('http://codecov.io/github/codecov/ci-repo?ref=c739768fcac68144a3a6d82305b9c4106934d31a');
22+
expect(body).to.contain('http://codecov.io/github/codecov/ci-repo/commit/c739768fcac68144a3a6d82305b9c4106934d31a');
2323
done();
2424
},
2525
function(err){
@@ -30,13 +30,13 @@ describe("Codecov", function(){
3030
it("can get upload to v3", function(done){
3131
codecov.sendToCodecovV3('https://codecov.io',
3232
{
33-
token: '473c8c5b-10ee-4d83-86c6-bfd72a185a27',
33+
token: 'f881216b-b5c0-4eb1-8f21-b51887d1d506',
3434
commit: 'c739768fcac68144a3a6d82305b9c4106934d31a',
3535
branch: 'master'
3636
},
3737
'testing node-'+codecov.version,
3838
function(body){
39-
expect(body).to.contain('http://codecov.io/github/codecov/ci-repo?ref=c739768fcac68144a3a6d82305b9c4106934d31a');
39+
expect(body).to.contain('http://codecov.io/github/codecov/ci-repo/commit/c739768fcac68144a3a6d82305b9c4106934d31a');
4040
done();
4141
},
4242
function(err){

0 commit comments

Comments
 (0)