Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
elwayman02 committed Jun 11, 2015
1 parent a697219 commit 92c6b75
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/unit/reporters/lcov-reporter-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ describe('LCOV Reporter', function() {
it('should replace modules names with file names when requested', function () {
var expectedOutput = fs.readFileSync(path.join(__dirname, '../../fixtures/lcov-output-with-renamer.dat'), 'utf8');
var reporter = new LCOVReporter({
lcovOptions: {
renamer: function(moduleName){
return moduleName.replace(/^todomvc-ember-cli/, 'something-else');
cliOptions: {
lcovOptions: {
renamer: function (moduleName) {
return moduleName.replace(/^todomvc-ember-cli/, 'something-else');
}
}
}
});
Expand Down

0 comments on commit 92c6b75

Please sign in to comment.