mirror of
https://github.com/electron/electron.git
synced 2026-02-14 09:05:01 -05:00
reenable some specs
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user