diff --git a/test-e2e/sync.js b/test-e2e/sync.js index 95fb1a43..72a0bf25 100644 --- a/test-e2e/sync.js +++ b/test-e2e/sync.js @@ -855,6 +855,12 @@ test('Correct sync state prior to data sync', async function (t) { managers.map((m) => m.getProject(projectId)) ) + for (const project of projects) { + const { remoteDeviceSyncState } = project.$sync.getState() + const otherDeviceCount = Object.keys(remoteDeviceSyncState).length + assert.equal(otherDeviceCount, COUNT - 1) + } + const generated = await seedDatabases(projects, { schemas: ['observation'] }) await waitForSync(projects, 'initial')