style: fix linting issues met ESLint

This commit is contained in:
Lint Action 2025-03-01 10:33:27 +00:00
parent 81bbe84dfd
commit 74765577d5
26 changed files with 73 additions and 73 deletions

View file

@ -18,7 +18,7 @@ describe("StudentRepository", () => {
it("should return the queried student after he was added", async () => {
await studentRepository.insert(new Student(username, firstName, lastName));
let retrievedStudent = await studentRepository.findByUsername(username);
const retrievedStudent = await studentRepository.findByUsername(username);
expect(retrievedStudent).toBeTruthy();
expect(retrievedStudent?.firstName).toBe(firstName);
expect(retrievedStudent?.lastName).toBe(lastName);
@ -27,7 +27,7 @@ describe("StudentRepository", () => {
it("should no longer return the queried student after he was removed again", async () => {
await studentRepository.deleteByUsername(username);
let retrievedStudent = await studentRepository.findByUsername(username);
const retrievedStudent = await studentRepository.findByUsername(username);
expect(retrievedStudent).toBeNull();
});
});