mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
add failing spec
This commit is contained in:
@@ -570,6 +570,13 @@ describe('protocol module', function () {
|
||||
})
|
||||
|
||||
describe('protocol.isProtocolHandled', function () {
|
||||
it('returns true for about:', function (done) {
|
||||
protocol.isProtocolHandled('about', function (result) {
|
||||
assert.equal(result, true)
|
||||
done()
|
||||
})
|
||||
})
|
||||
|
||||
it('returns true for file:', function (done) {
|
||||
protocol.isProtocolHandled('file', function (result) {
|
||||
assert.equal(result, true)
|
||||
|
||||
Reference in New Issue
Block a user