Fix instances of browser windows being left open after tests
This commit is contained in:
parent
0b75b75b96
commit
b0ef76cf57
2 changed files with 12 additions and 7 deletions
|
@ -8,19 +8,17 @@ describe("Duplicate Items", function () {
|
|||
thisArg: this,
|
||||
skipBundledFiles: true
|
||||
});
|
||||
});
|
||||
beforeEach(function* () {
|
||||
|
||||
Zotero.Prefs.clear('duplicateLibraries');
|
||||
win = yield loadZoteroPane();
|
||||
zp = win.ZoteroPane;
|
||||
cv = zp.collectionsView;
|
||||
|
||||
});
|
||||
beforeEach(function* () {
|
||||
return selectLibrary(win);
|
||||
})
|
||||
after(function () {
|
||||
if (win) {
|
||||
win.close();
|
||||
}
|
||||
win.close();
|
||||
});
|
||||
|
||||
describe("Merging", function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue