diff --git a/spec/api-web-contents-spec.js b/spec/api-web-contents-spec.js index 07328db8805b..e94dc9eb2acd 100644 --- a/spec/api-web-contents-spec.js +++ b/spec/api-web-contents-spec.js @@ -589,13 +589,9 @@ 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 - } - + // Destroying webContents in its event listener is going to crash when + // Electron is built in Debug mode. + xdescribe('destroy()', () => { let server before(function (done) {