refactor(backend): Linting
This commit is contained in:
parent
f537830b15
commit
2dbadc7eab
3 changed files with 20 additions and 9 deletions
|
@ -37,7 +37,7 @@ describe('DatabaseLearningObjectProvider', () => {
|
|||
it('should return the learning object when it is queried by its id', async () => {
|
||||
const result: FilteredLearningObject | null = await databaseLearningObjectProvider.getLearningObjectById(exampleLearningObject);
|
||||
expect(result).toBeTruthy();
|
||||
expectToBeCorrectFilteredLearningObject(result!, exampleLearningObject);
|
||||
expectToBeCorrectFilteredLearningObject(result, exampleLearningObject);
|
||||
});
|
||||
|
||||
it('should return the learning object when it is queried by only hruid and language (but not version)', async () => {
|
||||
|
@ -46,7 +46,7 @@ describe('DatabaseLearningObjectProvider', () => {
|
|||
language: exampleLearningObject.language,
|
||||
});
|
||||
expect(result).toBeTruthy();
|
||||
expectToBeCorrectFilteredLearningObject(result!, exampleLearningObject);
|
||||
expectToBeCorrectFilteredLearningObject(result, exampleLearningObject);
|
||||
});
|
||||
|
||||
it('should return null when queried with an id that does not exist', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue