test: alle studenten exportable
This commit is contained in:
parent
509dd6bfab
commit
f0fe44d5af
1 changed files with 29 additions and 1 deletions
|
@ -24,5 +24,33 @@ export function makeTestStudents(em: EntityManager): Student[] {
|
|||
}
|
||||
|
||||
export function getTestleerling1(): Student {
|
||||
return testStudents.find((it) => it.username === 'testleerling1');
|
||||
return testStudents.find((it) => it.username === 'testleerling1')!;
|
||||
}
|
||||
|
||||
export function getNoordkaap(): Student {
|
||||
return testStudents.find((it) => it.username == 'Noordkaap')!;
|
||||
}
|
||||
|
||||
export function getDireStraits(): Student {
|
||||
return testStudents.find((it) => it.username == 'DireStraits')!;
|
||||
}
|
||||
|
||||
export function getTool(): Student {
|
||||
return testStudents.find((it) => it.username == 'Tool')!;
|
||||
}
|
||||
|
||||
export function getSmashingPumpkins(): Student {
|
||||
return testStudents.find((it) => it.username == 'SmashingPumpkins')!;
|
||||
}
|
||||
|
||||
export function getPinkFloyd(): Student {
|
||||
return testStudents.find((it) => it.username == 'PinkFloyd')!;
|
||||
}
|
||||
|
||||
export function getTheDoors(): Student {
|
||||
return testStudents.find((it) => it.username == 'TheDoors')!;
|
||||
}
|
||||
|
||||
export function getNirvana(): Student {
|
||||
return testStudents.find((it) => it.username == 'Nirvana')!;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue