Browse Source

Remove unneeded return

Kevin Sawicki 8 years ago
parent
commit
4ccc3d9fb3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/api-app-spec.js

+ 1 - 1
spec/api-app-spec.js

@@ -81,7 +81,7 @@ describe('app module', function () {
     var appProcess = null
 
     afterEach(function () {
-      appProcess != null ? appProcess.kill() : void 0
+      if (appProcess != null) appProcess.kill()
     })
 
     it('emits a process exit event with the code', function (done) {