style: fix linting issues met Prettier
This commit is contained in:
parent
e3b0f10db0
commit
5fb9866148
1 changed files with 12 additions and 12 deletions
|
@ -23,17 +23,17 @@ describe("Test controller students", () => {
|
|||
const controller = new StudentController();
|
||||
|
||||
test.each([
|
||||
{ username: 'Noordkaap', firstName: 'Stijn', lastName: 'Meuris' },
|
||||
{ username: 'DireStraits', firstName: 'Mark', lastName: 'Knopfler' },
|
||||
{ username: 'Tool', firstName: 'Maynard', lastName: 'Keenan' },
|
||||
{ username: 'SmashingPumpkins', firstName: 'Billy', lastName: 'Corgan' },
|
||||
{ username: 'PinkFloyd', firstName: 'David', lastName: 'Gilmoure' },
|
||||
{ username: 'TheDoors', firstName: 'Jim', lastName: 'Morisson' },
|
||||
// ⚠️ 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' },
|
||||
])('Get classes of student', async (student) => {
|
||||
{ username: "Noordkaap", firstName: "Stijn", lastName: "Meuris" },
|
||||
{ username: "DireStraits", firstName: "Mark", lastName: "Knopfler" },
|
||||
{ username: "Tool", firstName: "Maynard", lastName: "Keenan" },
|
||||
{ username: "SmashingPumpkins", firstName: "Billy", lastName: "Corgan" },
|
||||
{ username: "PinkFloyd", firstName: "David", lastName: "Gilmoure" },
|
||||
{ username: "TheDoors", firstName: "Jim", lastName: "Morisson" },
|
||||
// ⚠️ 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" },
|
||||
])("Get classes of student", async (student) => {
|
||||
const data = await controller.getClasses(student.username, true);
|
||||
expect(data.classes).to.have.length.greaterThan(0);
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue