MCPcopy
hub / github.com/immich-app/immich / assertSyncIsComplete

Method assertSyncIsComplete

server/test/medium.factory.ts:325–329  ·  view source on GitHub ↗
(auth: AuthDto, types: SyncRequestType[])

Source from the content-addressed store, hash-verified

323 }
324
325 async assertSyncIsComplete(auth: AuthDto, types: SyncRequestType[]) {
326 await expect(this.syncStream(auth, types)).resolves.toEqual([
327 expect.objectContaining({ type: SyncEntityType.SyncCompleteV1 }),
328 ]);
329 }
330
331 async syncAckAll(auth: AuthDto, response: Array<{ type: string; ack: string }>) {
332 const acks: Record<string, string> = {};

Calls 1

syncStreamMethod · 0.95

Tested by

no test coverage detected