mirror of
https://github.com/immich-app/immich.git
synced 2026-02-28 09:38:43 +03:00
test: face ordering issue/flakiness (#26382)
This commit is contained in:
@@ -253,7 +253,8 @@ describe('/asset', () => {
|
|||||||
|
|
||||||
expect(status).toBe(200);
|
expect(status).toBe(200);
|
||||||
expect(body.id).toEqual(facesAsset.id);
|
expect(body.id).toEqual(facesAsset.id);
|
||||||
expect(body.people).toMatchObject(expectedFaces);
|
const sortedPeople = body.people.toSorted((a: any, b: any) => a.name.localeCompare(b.name));
|
||||||
|
expect(sortedPeople).toMatchObject(expectedFaces);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user