style: fix linting issues met ESLint

This commit is contained in:
Lint Action 2025-05-13 07:48:17 +00:00
parent 47e47323d3
commit 1b18338c78
15 changed files with 34 additions and 34 deletions

View file

@ -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',
});