aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorArpad Borsos <[email protected]>2013-06-02 14:20:12 +0200
committerArpad Borsos <[email protected]>2013-06-02 14:20:12 +0200
commit6187392ca1c1bfcbb4d8ced51de35ed2a04bc8a3 (patch)
treeb0caaa1d5c21933629eb00db58a2ec4bcc8d8929 /test
parenta04d30f7473e93c6390f99090caf5d8a27213dc2 (diff)
downloadnode-coveralls-6187392ca1c1bfcbb4d8ced51de35ed2a04bc8a3.tar.xz
node-coveralls-6187392ca1c1bfcbb4d8ced51de35ed2a04bc8a3.zip
Fixes 7: be quiet by default
Diffstat (limited to 'test')
-rw-r--r--test/convertLcovToCoveralls.js4
1 files changed, 2 insertions, 2 deletions
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);