style: fix linting issues met Prettier
This commit is contained in:
parent
0e70ccf672
commit
fc4e406845
4 changed files with 20 additions and 20 deletions
|
@ -5,7 +5,7 @@ import { Teacher } from '../../../src/entities/users/teacher.entity';
|
|||
|
||||
export function makeTestClasses(em: EntityManager, students: Student[], teachers: Teacher[]): Class[] {
|
||||
const studentsClass01 = students.slice(0, 8);
|
||||
const teacherClass01: Teacher[] = teachers.slice(4,5);
|
||||
const teacherClass01: Teacher[] = teachers.slice(4, 5);
|
||||
|
||||
const class01 = em.create(Class, {
|
||||
classId: '8764b861-90a6-42e5-9732-c0d9eb2f55f9',
|
||||
|
|
|
@ -12,7 +12,7 @@ export const TEST_STUDENTS = [
|
|||
// ⚠️ Deze mag niet gebruikt worden in elke test!
|
||||
{ username: 'Nirvana', firstName: 'Kurt', lastName: 'Cobain' },
|
||||
// Makes sure when logged in as leerling1, there exists a corresponding user
|
||||
{ username: 'testleerling1', firstName: 'Gerald', lastName: 'Schmittinger'},
|
||||
{ username: 'testleerling1', firstName: 'Gerald', lastName: 'Schmittinger' },
|
||||
];
|
||||
|
||||
// 🏗️ Functie die ORM entities maakt uit de data array
|
||||
|
|
|
@ -31,7 +31,7 @@ export function makeTestTeachers(em: EntityManager): Teacher[] {
|
|||
const teacher05 = em.create(Teacher, {
|
||||
username: 'testleerkracht1',
|
||||
firstName: 'Bob',
|
||||
lastName: 'Dylan'
|
||||
lastName: 'Dylan',
|
||||
});
|
||||
|
||||
return [teacher01, teacher02, teacher03, teacher04, teacher05];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue