You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +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:
@ -56,7 +56,10 @@ class FoldersScreenUtils {
|
||||
}
|
||||
|
||||
static async cancelTimers() {
|
||||
if (this.scheduleRefreshFoldersIID_) clearTimeout(this.scheduleRefreshFoldersIID_);
|
||||
if (this.scheduleRefreshFoldersIID_) {
|
||||
clearTimeout(this.scheduleRefreshFoldersIID_);
|
||||
this.scheduleRefreshFoldersIID_ = null;
|
||||
}
|
||||
return new Promise((resolve) => {
|
||||
const iid = setInterval(() => {
|
||||
if (!FoldersScreenUtils.refreshCalls_.length) {
|
||||
|
Reference in New Issue
Block a user