style: fix linting issues met ESLint
This commit is contained in:
parent
47e47323d3
commit
1b18338c78
15 changed files with 34 additions and 34 deletions
|
@ -24,7 +24,7 @@ describe('AnswerRepository', () => {
|
|||
const a1 = getAnswer01();
|
||||
const a2 = getAnswer02();
|
||||
|
||||
const answers = await answerRepository.findAllAnswersToQuestion(question!);
|
||||
const answers = await answerRepository.findAllAnswersToQuestion(question);
|
||||
|
||||
expect(answers).toBeTruthy();
|
||||
expect(answers).toHaveLength(2);
|
||||
|
@ -38,7 +38,7 @@ describe('AnswerRepository', () => {
|
|||
|
||||
await answerRepository.createAnswer({
|
||||
toQuestion: question,
|
||||
author: teacher!,
|
||||
author: teacher,
|
||||
content: 'created answer',
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue