reenable some specs

This commit is contained in:
deepak1556 2017-12-15 23:08:50 +05:30 committed by Cheng Zhao
parent 69bd44edbb
commit 1912fbb073
2 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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) => {