style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-03-30 21:24:37 +00:00
parent 9895d22521
commit ee5f69cbc8
20 changed files with 188 additions and 192 deletions

View file

@ -1,20 +1,20 @@
import { describe, it, expect, beforeAll } from 'vitest';
import {StudentController} from "../../src/controllers/students";
import { describe, it, expect, beforeAll } from "vitest";
import { StudentController } from "../../src/controllers/students";
const controller = new StudentController();
describe('StudentController', () => {
describe("StudentController", () => {
const newStudent = {
username: 'teststudent1',
firstName: 'Testy',
lastName: 'McTestface',
username: "teststudent1",
firstName: "Testy",
lastName: "McTestface",
};
beforeAll(() => {
// Start backend
});
it('creates a student and fetches it by username', async () => {
it("creates a student and fetches it by username", async () => {
// Create student
await controller.createStudent(newStudent);
@ -29,7 +29,6 @@ describe('StudentController', () => {
expect(student.firstName).toBe(newStudent.firstName);
expect(student.lastName).toBe(newStudent.lastName);
await controller.deleteStudent(newStudent.username);
});
});