style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-03-06 11:12:49 +00:00
parent 8d4cbb5529
commit 3e3c8e0587
2 changed files with 4 additions and 3 deletions

View file

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

View file

@ -1,4 +1,3 @@
# This is a complete configuration to deploy Loki backed by the filesystem.
# The index will be shipped to the storage via tsdb-shipper.