Fix standard linting errors
authorCheng Zhao <zcbenz@gmail.com>
Wed, 16 Nov 2016 00:57:12 +0000 (09:57 +0900)
committerKevin Sawicki <kevinsawicki@gmail.com>
Wed, 16 Nov 2016 15:50:30 +0000 (07:50 -0800)
spec/chromium-spec.js

index d940017736e5d1418eb321cd359061919b7d2221..29846e25815d766ab85219eea24a8bd2f0d7b977 100644 (file)
@@ -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)
     })