style: fix linting issues met ESLint
This commit is contained in:
parent
51a9b58a20
commit
af8c783a26
4 changed files with 13 additions and 13 deletions
|
@ -38,7 +38,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 () => {
|
||||
|
@ -47,7 +47,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