Save coverage data when browser windows are destroyed
This commit is contained in:
parent
9299921ee9
commit
300bf24241
2 changed files with 44 additions and 0 deletions
|
@ -84,6 +84,8 @@ app.on('window-all-closed', function () {
|
|||
app.quit()
|
||||
})
|
||||
|
||||
require('../coverage/reporter').setupCoverage()
|
||||
|
||||
app.on('ready', function () {
|
||||
// Test if using protocol module would crash.
|
||||
electron.protocol.registerStringProtocol('test-if-crashes', function () {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue