mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
test: face ordering issue/flakiness (#26382)
This commit is contained in:
parent
19da655390
commit
b4e16efdf4
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue