From 6187392ca1c1bfcbb4d8ced51de35ed2a04bc8a3 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Sun, 2 Jun 2013 14:20:12 +0200 Subject: Fixes 7: be quiet by default --- test/convertLcovToCoveralls.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/convertLcovToCoveralls.js b/test/convertLcovToCoveralls.js index 9094631..5483dc7 100644 --- a/test/convertLcovToCoveralls.js +++ b/test/convertLcovToCoveralls.js @@ -8,7 +8,7 @@ describe("convertLcovToCoveralls", function(){ var path = __dirname + "/../fixtures/onefile.lcov"; var input = fs.readFileSync(path, "utf8"); var libpath = __dirname + "/../fixtures/lib"; - convertLcovToCoveralls(input, libpath, null, function(err, output){ + convertLcovToCoveralls(input, {filepath: libpath}, function(err, output){ should.not.exist(err); output.source_files[0].name.should.equal("index.js"); output.source_files[0].source.split("\n").length.should.equal(225); @@ -22,7 +22,7 @@ describe("convertLcovToCoveralls", function(){ var path = __dirname + "/../fixtures/onefile.lcov"; var input = fs.readFileSync(path, "utf8"); var libpath = "fixtures/lib"; - convertLcovToCoveralls(input, libpath, null, function(err, output){ + convertLcovToCoveralls(input, {filepath: libpath}, function(err, output){ should.not.exist(err); output.source_files[0].name.should.equal("index.js"); output.source_files[0].source.split("\n").length.should.equal(225); -- cgit v1.2.3