diff --git a/test/tests/preferences_syncTest.js b/test/tests/preferences_syncTest.js index 20e0e386aa..3b36c2541e 100644 --- a/test/tests/preferences_syncTest.js +++ b/test/tests/preferences_syncTest.js @@ -63,7 +63,6 @@ describe("Sync Preferences", function () { Zotero.alert.restore(); getAPIKeyFromCredentialsStub.restore(); deleteAPIKey.restore(); - win.close(); }); it("should set API key and display full controls with correct credentials", function* () {