Add ability to run tests with coverage report

This commit is contained in:
Kevin Sawicki 2016-08-02 11:53:13 -07:00
commit 491f69df80
5 changed files with 36 additions and 27 deletions

View file

@ -22,7 +22,7 @@ glob.sync('**/*.js', {cwd: libPath}).forEach(function (relativePath) {
fs.writeFileSync(generatedPath, generated)
})
var asarPath = path.join(outputPath, 'electron-instrumented.asar')
var asarPath = path.join(outputPath, 'electron.asar')
asar.createPackageWithOptions(path.join(outputPath, 'lib'), asarPath, {}, function (error) {
if (error) {
console.error(error.stack || error)