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

Commit 9445f72

Browse files
fixed wrong fixture file names
1 parent 348cf7b commit 9445f72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe("Codecov", function(){
3333

3434
it("can auto detect reports", function(){
3535
var res = codecov.upload({options: {dump: true}});
36-
expect(res.files[0].split(pathSeparator).pop()).to.eql('coverage.json');
36+
expect(res.files[0].split(pathSeparator).pop()).to.eql('example.coverage.txt');
3737
expect(res.body).to.contain('this file is intentionally left blank');
3838
});
3939

@@ -57,7 +57,7 @@ describe("Codecov", function(){
5757
it("can detect .bowerrc without directory", function(){
5858
fs.writeFileSync('.bowerrc', '{"key": "value"}');
5959
var res = codecov.upload({options: {dump: true}});
60-
expect(res.files[0].split(pathSeparator).pop()).to.eql('coverage.json');
60+
expect(res.files[0].split(pathSeparator).pop()).to.eql('example.coverage.txt');
6161
expect(res.body).to.contain('this file is intentionally left blank');
6262
});
6363

0 commit comments

Comments
 (0)