mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat: audit cleanup (#21567)
This commit is contained in:
parent
af1e18d07e
commit
28179a3a1d
40 changed files with 839 additions and 299 deletions
|
|
@ -258,6 +258,12 @@ export class SyncTestContext extends MediumTestContext<SyncService> {
|
|||
return stream.getResponse();
|
||||
}
|
||||
|
||||
async assertSyncIsComplete(auth: AuthDto, types: SyncRequestType[]) {
|
||||
await expect(this.syncStream(auth, types)).resolves.toEqual([
|
||||
expect.objectContaining({ type: SyncEntityType.SyncCompleteV1 }),
|
||||
]);
|
||||
}
|
||||
|
||||
async syncAckAll(auth: AuthDto, response: Array<{ type: string; ack: string }>) {
|
||||
const acks: Record<string, string> = {};
|
||||
const syncAcks: string[] = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue