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

Commit

Permalink
.borwerrc file has been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
drazisil committed May 18, 2020
1 parent 2f35de8 commit eae03d5
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/index.test.js
Expand Up @@ -128,19 +128,6 @@ describe('Codecov', function() {
expect(res.debug).toContain('failed: notreal.txt')
})

// it("can detect .bowerrc with directory", function(){
// fs.writeFileSync('.bowerrc', '{"directory": "test"}');
// var res = codecov.upload({options: {dump: true}});
// expect(res.files).toBe([]);
// });

it('can detect .bowerrc without directory', function() {
fs.writeFileSync('.bowerrc', '{"key": "value"}')
var res = codecov.upload({ options: { dump: true } })
expect(res.files[0].split(pathSeparator).pop()).toBe('example.coverage.txt')
expect(res.body).toContain('this file is intentionally left blank')
})

it('can disable search', function() {
var res = codecov.upload({ options: { dump: true, disable: 'search' } })
expect(res.debug).toContain('disabled search')
Expand Down

0 comments on commit eae03d5

Please sign in to comment.