Fix standard linting errors

This commit is contained in:
Cheng Zhao 2016-11-16 09:57:12 +09:00 committed by Kevin Sawicki
parent 18fca785c4
commit 81f2e76e36

View file

@ -320,7 +320,7 @@ describe('chromium feature', function () {
let url = `${scheme}://${fixtures}/pages/window-opener-location.html` let url = `${scheme}://${fixtures}/pages/window-opener-location.html`
let w = null let w = null
before(function () { before(function (done) {
protocol.registerFileProtocol(scheme, function (request, callback) { protocol.registerFileProtocol(scheme, function (request, callback) {
callback(`${fixtures}/pages/window-opener-location.html`) callback(`${fixtures}/pages/window-opener-location.html`)
}, function (error) { }, function (error) {
@ -328,7 +328,7 @@ describe('chromium feature', function () {
}) })
}) })
after(function() { after(function () {
protocol.unregisterProtocol(scheme) protocol.unregisterProtocol(scheme)
}) })