Browse Source

Fix standard linting errors

Cheng Zhao 8 years ago
parent
commit
6f5336c63f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      spec/chromium-spec.js

+ 2 - 2
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)
     })