diff options
| author | Nick Merwin <[email protected]> | 2020-04-21 13:37:24 -0700 |
|---|---|---|
| committer | Nick Merwin <[email protected]> | 2020-04-21 13:37:24 -0700 |
| commit | 2f2426b46525a81b94206b4a1164e11fddd06665 (patch) | |
| tree | 7703de5eae464b13a1854f109c9e6d398b69cf6f /test | |
| parent | aaff7f813f12a046e1dab275abeb2f074c90b0c1 (diff) | |
| download | node-coveralls-2f2426b46525a81b94206b4a1164e11fddd06665.tar.xz node-coveralls-2f2426b46525a81b94206b4a1164e11fddd06665.zip | |
pass flag_name to API post JSON
Diffstat (limited to 'test')
| -rw-r--r-- | test/convertLcovToCoveralls.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/convertLcovToCoveralls.js b/test/convertLcovToCoveralls.js index 6cb24e8..4ce10d2 100644 --- a/test/convertLcovToCoveralls.js +++ b/test/convertLcovToCoveralls.js @@ -34,6 +34,7 @@ describe('convertLcovToCoveralls', () => { process.env.COVERALLS_REPO_TOKEN = 'REPO_TOKEN'; process.env.CI_PULL_REQUEST = 'https://github.com/fake/fake/pulls/123'; process.env.COVERALLS_PARALLEL = 'true'; + process.env.COVERALLS_FLAG_NAME = 'FLAG_NAME'; getOptions((err, options) => { const lcovpath = path.join(__dirname, '/../fixtures/onefile.lcov'); @@ -49,6 +50,7 @@ describe('convertLcovToCoveralls', () => { output.service_job_id.should.equal('SERVICE_JOB_ID'); output.service_pull_request.should.equal('123'); output.parallel.should.equal(true); + output.flag_name.should.equal('FLAG_NAME'); //output.git.should.equal("GIT_HASH"); done(); }); |
