fix: Linting op Actions

This commit is contained in:
Tibo De Peuter 2025-04-02 20:31:40 +02:00
parent 80dc3acca7
commit 7e46ce9c5f
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
5 changed files with 17 additions and 8 deletions

View file

@ -48,7 +48,7 @@ describe('LearningPathService', () => {
expect(result.data?.length).toBe(1);
// Should include all the nodes, even those pointing to foreign learning objects.
expect([...result.data![0].nodes.map((it) => it.learningobject_hruid)].sort()).toEqual(
expect([...result.data![0].nodes.map((it) => it.learningobject_hruid)].sort((a, b) => a - b)).toEqual(
example.learningPath.nodes.map((it) => it.learningObjectHruid).sort()
);
});