mirror of
https://github.com/electron/electron.git
synced 2026-01-26 07:48:08 -05:00
Fix standard linting errors
This commit is contained in:
committed by
Kevin Sawicki
parent
18fca785c4
commit
81f2e76e36
@@ -320,7 +320,7 @@ describe('chromium feature', function () {
|
||||
let url = `${scheme}://${fixtures}/pages/window-opener-location.html`
|
||||
let w = null
|
||||
|
||||
before(function () {
|
||||
before(function (done) {
|
||||
protocol.registerFileProtocol(scheme, function (request, callback) {
|
||||
callback(`${fixtures}/pages/window-opener-location.html`)
|
||||
}, function (error) {
|
||||
@@ -328,7 +328,7 @@ describe('chromium feature', function () {
|
||||
})
|
||||
})
|
||||
|
||||
after(function() {
|
||||
after(function () {
|
||||
protocol.unregisterProtocol(scheme)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user