From 1912fbb073dfcdb703e6215c3c3b904fad7906df Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Fri, 15 Dec 2017 23:08:50 +0530 Subject: [PATCH] reenable some specs --- spec/api-browser-window-spec.js | 2 +- spec/api-protocol-spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index e1b06b8fae4e..195e94f39b78 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -1356,7 +1356,7 @@ describe('BrowserWindow module', () => { }) }) - xit('supports calling preventDefault on new-window events', (done) => { + it('supports calling preventDefault on new-window events', (done) => { w.destroy() w = new BrowserWindow({ show: false, diff --git a/spec/api-protocol-spec.js b/spec/api-protocol-spec.js index 61e7fb51fd9a..cd2e45198983 100644 --- a/spec/api-protocol-spec.js +++ b/spec/api-protocol-spec.js @@ -477,7 +477,7 @@ describe('protocol module', () => { }) }) - xdescribe('protocol.registerStreamProtocol', () => { + describe('protocol.registerStreamProtocol', () => { it('sends Stream as response', (done) => { const handler = (request, callback) => callback(getStream()) protocol.registerStreamProtocol(protocolName, handler, (error) => { @@ -869,7 +869,7 @@ describe('protocol module', () => { }) }) - xdescribe('protocol.interceptStreamProtocol', () => { + describe('protocol.interceptStreamProtocol', () => { it('can intercept http protocol', (done) => { const handler = (request, callback) => callback(getStream()) protocol.interceptStreamProtocol('http', handler, (error) => {