style: fix linting issues met Prettier
This commit is contained in:
parent
8d4cbb5529
commit
3e3c8e0587
2 changed files with 4 additions and 3 deletions
|
@ -20,7 +20,8 @@ describe('StudentRepository', () => {
|
||||||
new Student(username, firstName, lastName)
|
new Student(username, firstName, lastName)
|
||||||
);
|
);
|
||||||
|
|
||||||
const retrievedStudent = await studentRepository.findByUsername(username);
|
const retrievedStudent =
|
||||||
|
await studentRepository.findByUsername(username);
|
||||||
expect(retrievedStudent).toBeTruthy();
|
expect(retrievedStudent).toBeTruthy();
|
||||||
expect(retrievedStudent?.firstName).toBe(firstName);
|
expect(retrievedStudent?.firstName).toBe(firstName);
|
||||||
expect(retrievedStudent?.lastName).toBe(lastName);
|
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 () => {
|
it('should no longer return the queried student after he was removed again', async () => {
|
||||||
await studentRepository.deleteByUsername(username);
|
await studentRepository.deleteByUsername(username);
|
||||||
|
|
||||||
const retrievedStudent = await studentRepository.findByUsername(username);
|
const retrievedStudent =
|
||||||
|
await studentRepository.findByUsername(username);
|
||||||
expect(retrievedStudent).toBeNull();
|
expect(retrievedStudent).toBeNull();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# This is a complete configuration to deploy Loki backed by the filesystem.
|
# This is a complete configuration to deploy Loki backed by the filesystem.
|
||||||
# The index will be shipped to the storage via tsdb-shipper.
|
# The index will be shipped to the storage via tsdb-shipper.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue