Fix Travis failure after skipped test
Apparently after() is run even if a test is skipped
This commit is contained in:
parent
3b6b6aa36b
commit
205bab7b89
1 changed files with 3 additions and 1 deletions
|
@ -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* () {
|
||||
|
|
Loading…
Add table
Reference in a new issue