diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/convertLcovToCoveralls.js | 4 |
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); |
