style: fix linting issues met ESLint
This commit is contained in:
parent
47e47323d3
commit
1b18338c78
15 changed files with 34 additions and 34 deletions
|
@ -30,7 +30,7 @@ describe('ClassJoinRequestRepository', () => {
|
|||
const class_ = getClass02();
|
||||
const jr1 = getClassJoinRequest01();
|
||||
const jr2 = getClassJoinRequest02();
|
||||
const requests = await classJoinRequestRepository.findAllOpenRequestsTo(class_!);
|
||||
const requests = await classJoinRequestRepository.findAllOpenRequestsTo(class_);
|
||||
|
||||
expect(requests).toBeTruthy();
|
||||
expect(requests).toHaveLength(2);
|
||||
|
@ -41,9 +41,9 @@ describe('ClassJoinRequestRepository', () => {
|
|||
it('should not find a removed request', async () => {
|
||||
const studentUsed = getSmashingPumpkins();
|
||||
const class_ = getClass03();
|
||||
await classJoinRequestRepository.deleteBy(studentUsed!, class_!);
|
||||
await classJoinRequestRepository.deleteBy(studentUsed, class_);
|
||||
|
||||
const request = await classJoinRequestRepository.findAllRequestsBy(studentUsed!);
|
||||
const request = await classJoinRequestRepository.findAllRequestsBy(studentUsed);
|
||||
|
||||
expect(request).toHaveLength(0);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue