refactor: Arrays
This commit is contained in:
		
							parent
							
								
									ac10518cb8
								
							
						
					
					
						commit
						e1aba11222
					
				
					 14 changed files with 29 additions and 23 deletions
				
			
		|  | @ -3,7 +3,7 @@ import { Group } from '../../../src/entities/assignments/group.entity'; | |||
| import { Assignment } from '../../../src/entities/assignments/assignment.entity'; | ||||
| import { Student } from '../../../src/entities/users/student.entity'; | ||||
| 
 | ||||
| export function makeTestGroups(em: EntityManager, students: Array<Student>, assignments: Array<Assignment>): Array<Group> { | ||||
| export function makeTestGroups(em: EntityManager, students: Student[], assignments: Assignment[]): Group[] { | ||||
|     const group01 = em.create(Group, { | ||||
|         assignment: assignments[0], | ||||
|         groupNumber: 1, | ||||
|  |  | |||
		Reference in a new issue