fix(backend): Restore sort
This commit is contained in:
		
							parent
							
								
									9f60c43522
								
							
						
					
					
						commit
						6d7d29ce3c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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((a, b) => a - b)).toEqual( | ||||
|             expect([...result.data![0].nodes.map((it) => it.learningobject_hruid)].sort()).toEqual( | ||||
|                 example.learningPath.nodes.map((it) => it.learningObjectHruid).sort() | ||||
|             ); | ||||
|         }); | ||||
|  |  | |||
		Reference in a new issue