diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js
index <HASH>..<HASH> 100644
--- a/spec/api-browser-window-spec.js
+++ b/spec/api-browser-window-spec.js
@@ -82,7 +82,10 @@ describe('browser-window module', function () {
   })
 
   afterEach(function () {
-    return closeWindow(w).then(function () { w = null })
+    return closeWindow(w).then(function () {
+      w = null
+      assert.equal(BrowserWindow.getAllWindows().length, 1)
+    })
   })
 
   describe('BrowserWindow.close()', function () {
Assert windows are not leaking across tests