From bb793357190e1d799da5b5732ef57d1e7968680a Mon Sep 17 00:00:00 2001 From: Joe Becher Date: Mon, 18 May 2020 09:14:36 -0400 Subject: [PATCH] V3.7.0 (#179) * Version 3.7 * .borwerrc file has been removed * lcov.info file have been removed --- README.md | 1 + package-lock.json | 2 +- package.json | 2 +- test/index.test.js | 23 +++++------------------ 4 files changed, 8 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 2bddf391..125e9bfe 100644 --- a/README.md +++ b/README.md @@ -110,3 +110,4 @@ nyc report --reporter=text-lcov > coverage.lcov - v3.6.2 Command line args sanitized fix - v3.6.3 Fix for AWS Codebuild & package updates - v3.6.4 Fix Cirrus CI +- v3.7.0 Remove the X-Amz-Acl: public-read header diff --git a/package-lock.json b/package-lock.json index c83d84a3..75724005 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "codecov", - "version": "3.6.5", + "version": "3.7.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 60d3bdbc..d1951804 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codecov", - "version": "3.6.5", + "version": "3.7.0", "description": "Uploading report to Codecov: https://codecov.io", "main": "index.js", "scripts": { diff --git a/test/index.test.js b/test/index.test.js index ce060429..22681440 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -106,11 +106,11 @@ describe('Codecov', function() { delete process.env.CODECOV_TOKEN }) - it('can auto detect reports', function() { - 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 auto detect reports', function() { + // 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 specify report in cli', function() { var res = codecov.upload({ @@ -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')