Add initial code coverage reporting
This commit is contained in:
parent
15e6028f38
commit
afdff69482
4 changed files with 53 additions and 1 deletions
|
@ -63,6 +63,10 @@ ipcMain.on('echo', function (event, msg) {
|
|||
event.returnValue = msg
|
||||
})
|
||||
|
||||
ipcMain.on('get-coverage', function(event) {
|
||||
event.returnValue = global.__coverage__
|
||||
})
|
||||
|
||||
global.isCi = !!argv.ci
|
||||
if (global.isCi) {
|
||||
process.removeAllListeners('uncaughtException')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue