reenable some specs
This commit is contained in:
parent
69bd44edbb
commit
1912fbb073
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue