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:
parent
bd697275c2
commit
b315eb83fd
1 changed files with 6 additions and 0 deletions
|
@ -590,6 +590,12 @@ describe('webContents module', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('destroy()', () => {
|
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
|
let server
|
||||||
|
|
||||||
before(function (done) {
|
before(function (done) {
|
||||||
|
|
Loading…
Reference in a new issue