diff --git a/backend/src/utils/test-utils/mockSelectQueryBuilder.ts b/backend/src/utils/test-utils/mockSelectQueryBuilder.ts index 471cf87c1..7d7e06cee 100644 --- a/backend/src/utils/test-utils/mockSelectQueryBuilder.ts +++ b/backend/src/utils/test-utils/mockSelectQueryBuilder.ts @@ -12,7 +12,7 @@ import { ObjectLiteral, Repository, SelectQueryBuilder } from 'typeorm'; * @param returnValue The entity to return * @return The mocked query builder */ -export function mockSelectQueryBuilder( +export function mockSelectQueryBuilder( returnValue: T | null, ): SelectQueryBuilder { const mockedQueryBuilder: SelectQueryBuilder = Mock.of<