From 81f2e76e36ab70b7ccbf617beaca3276cc6bc6b7 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 16 Nov 2016 09:57:12 +0900 Subject: [PATCH] Fix standard linting errors --- spec/chromium-spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/chromium-spec.js b/spec/chromium-spec.js index d940017736e..29846e25815 100644 --- a/spec/chromium-spec.js +++ b/spec/chromium-spec.js @@ -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) })