aboutsummaryrefslogtreecommitdiff
path: root/test/convertLcovToCoveralls.js
diff options
context:
space:
mode:
authorNick Merwin <[email protected]>2015-12-10 12:52:55 -0800
committerNick Merwin <[email protected]>2015-12-10 12:52:55 -0800
commitd084add18e87fd1a292315de7c9eb171e8fd4b93 (patch)
treec90578e6a9540b8af75a930dc25d3c07be4efee6 /test/convertLcovToCoveralls.js
parent712e6e4bb4d8e1a60f646d954743a6808aa7f13e (diff)
parentd60635885d243abef2cbc5b2a0da7a27d752a14b (diff)
downloadnode-coveralls-pr/96.tar.xz
node-coveralls-pr/96.zip
merge conflictspr/96
Diffstat (limited to 'test/convertLcovToCoveralls.js')
-rw-r--r--test/convertLcovToCoveralls.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/convertLcovToCoveralls.js b/test/convertLcovToCoveralls.js
index 6a64eda..24fa6c8 100644
--- a/test/convertLcovToCoveralls.js
+++ b/test/convertLcovToCoveralls.js
@@ -29,6 +29,7 @@ describe("convertLcovToCoveralls", function(){
process.env.COVERALLS_SERVICE_NAME = "SERVICE_NAME";
process.env.COVERALLS_SERVICE_JOB_ID = "SERVICE_JOB_ID";
process.env.COVERALLS_REPO_TOKEN = "REPO_TOKEN";
+ process.env.CI_PULL_REQUEST = "https://github.com/fake/fake/pulls/123";
getOptions(function(err, options){
var lcovpath = __dirname + "/../fixtures/onefile.lcov";
@@ -37,6 +38,7 @@ describe("convertLcovToCoveralls", function(){
options.filepath = libpath;
convertLcovToCoveralls(input, options, function(err, output){
should.not.exist(err);
+ output.service_pull_request.should.equal("123");
//output.git.should.equal("GIT_HASH");
done();
});