mirror of
https://github.com/electron/electron.git
synced 2026-01-26 15:58:07 -05:00
spec: Suppress the test that destroys WebContents in event listener
It is crashing when Electron is built in Debug mode.
This commit is contained in:
@@ -590,6 +590,12 @@ describe('webContents module', function () {
|
||||
})
|
||||
|
||||
describe('destroy()', () => {
|
||||
// Destroying webContents in its event listener is going to crash when
|
||||
// Electron is built in Debug mode.
|
||||
if (process.platform !== 'darwin') {
|
||||
return
|
||||
}
|
||||
|
||||
let server
|
||||
|
||||
before(function (done) {
|
||||
|
||||
Reference in New Issue
Block a user