test: face ordering issue/flakiness (#26382)

This commit is contained in:
Min Idzelis
2026-02-20 09:23:40 -05:00
committed by GitHub
parent 19da655390
commit b4e16efdf4

View File

@@ -253,7 +253,8 @@ describe('/asset', () => {
expect(status).toBe(200);
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);
});
});