Fix inifinite loop at end of test
This commit is contained in:
parent
a7b518d7ea
commit
a5bcaec9fe
2 changed files with 5 additions and 3 deletions
|
|
@ -141,6 +141,7 @@ export class SyncClient {
|
|||
/// and the local database but retain the settings.
|
||||
/// The SyncClient can be used again after calling this method.
|
||||
public async reset(): Promise<void> {
|
||||
this.stop();
|
||||
await this._syncer.reset();
|
||||
this._history.reset();
|
||||
await this._database.resetSyncState();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue