chore: remove electabul (#15954)
This commit is contained in:
parent
cfb2812cea
commit
46e7214974
4 changed files with 0 additions and 31 deletions
|
@ -4,8 +4,6 @@ process.throwDeprecation = false
|
|||
const electron = require('electron')
|
||||
const { app, BrowserWindow, crashReporter, dialog, ipcMain, protocol, webContents } = electron
|
||||
|
||||
const { Coverage } = require('electabul')
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const util = require('util')
|
||||
|
@ -85,15 +83,6 @@ global.permissionChecks = {
|
|||
reject: () => electron.session.defaultSession.setPermissionCheckHandler(() => false)
|
||||
}
|
||||
|
||||
const coverage = new Coverage({
|
||||
outputPath: path.join(__dirname, '..', '..', 'out', 'coverage')
|
||||
})
|
||||
coverage.setup()
|
||||
|
||||
ipcMain.on('get-main-process-coverage', function (event) {
|
||||
event.returnValue = global.__coverage__ || null
|
||||
})
|
||||
|
||||
global.isCi = !!argv.ci
|
||||
if (global.isCi) {
|
||||
process.removeAllListeners('uncaughtException')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue