Don't bother doing a full DB reset after sync tests
Tests should make no assumptions about the presence of bundled files and should do a full resetDB() if they need them. But most tests don't need them, and they're very slow to install. We can reconsider this if we drastically speed up DB resetting in tests (e.g., by caching a pristine data directory).
This commit is contained in:
parent
703cfd1fc5
commit
50b46bdb19
1 changed files with 0 additions and 5 deletions
|
@ -417,11 +417,6 @@ describe("Zotero.Sync.Runner", function () {
|
|||
|
||||
yield Zotero.Libraries.init();
|
||||
})
|
||||
after(function* () {
|
||||
yield resetDB({
|
||||
thisArg: this
|
||||
});
|
||||
})
|
||||
|
||||
it("should perform a sync across all libraries and update library versions", function* () {
|
||||
yield Zotero.Users.setCurrentUserID(1);
|
||||
|
|
Loading…
Add table
Reference in a new issue