Skip to content

Commit e2978e2

Browse files
fix all tests
1 parent 446a93c commit e2978e2

File tree

2 files changed

+220
-219
lines changed

2 files changed

+220
-219
lines changed

packages/web/src/db/sync/SharedWebStreamingSyncImplementation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ export class SharedWebStreamingSyncImplementation extends WebStreamingSyncImplem
221221
* Used in tests to force a connection states
222222
*/
223223
private async _testUpdateStatus(status: SyncStatus) {
224+
await this.isInitialized;
224225
return (this.syncManager as any)['_testUpdateAllStatuses'](status.toJSON());
225226
}
226227
}

0 commit comments

Comments
 (0)