www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 205bab7b89886eeaa77431d67f8aa1f06ec1a8ca
parent 3b6b6aa36bda22e10c925d46a7af872bea126a70
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 21 Dec 2016 05:28:48 -0500

Fix Travis failure after skipped test

Apparently after() is run even if a test is skipped

Diffstat:
Mtest/tests/recognizePDFTest.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/tests/recognizePDFTest.js b/test/tests/recognizePDFTest.js @@ -23,7 +23,9 @@ describe("PDF Recognition", function() { }); after(function() { - win.close(); + if (win) { + win.close(); + } }); it("should recognize a PDF with a DOI within a collection", function* () {