Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Update process spawning in coverage.js for mocha 2.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstjules committed Mar 9, 2015
1 parent beffe92 commit 534bbcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"cross-spawn": "^0.2.6",
"jscoverage": "^0.5.9",
"jshint": "^2.6.3",
"mocha": "^2.2.0",
"mocha": "^2.2.1",
"mocha-lcov-reporter": "^0.0.2"
}
}
4 changes: 3 additions & 1 deletion scripts/coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ function suite() {
process.env.NODESASS_COV = 1;

var coveralls = spawn(bin('coveralls'));
var mocha = spawn(bin('_mocha'), ['--reporter', 'mocha-lcov-reporter'], {

var args = [bin('_mocha')].concat(['--reporter', 'mocha-lcov-reporter']);
var mocha = spawn(process.execPath, args, {
env: process.env
});

Expand Down

0 comments on commit 534bbcf

Please sign in to comment.