You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
Tests: Integration harness fixes and refactors. (#2569)
* Test harness fixes and integration test refactor and addition. * Clean up. * Address review comments. * Improve method names.
This commit is contained in:
@@ -193,7 +193,10 @@ reg.db = () => {
|
||||
};
|
||||
|
||||
reg.cancelTimers = async () => {
|
||||
if (this.recurrentSyncId_) clearTimeout(this.recurrentSyncId_);
|
||||
if (this.recurrentSyncId_) {
|
||||
clearTimeout(this.recurrentSyncId_);
|
||||
this.recurrentSyncId_ = null;
|
||||
}
|
||||
return new Promise((resolve) => {
|
||||
const iid = setInterval(() => {
|
||||
if (!reg.syncCalls_.length) {
|
||||
|
||||
Reference in New Issue
Block a user