style: fix linting issues met Prettier
This commit is contained in:
parent
e58835aa17
commit
e73d5c21c3
34 changed files with 103 additions and 296 deletions
|
@ -13,21 +13,13 @@ describe('LearningPathRepository', () => {
|
|||
});
|
||||
|
||||
it('should return nothing because no match for hruid and language', async () => {
|
||||
const learningPath =
|
||||
await learningPathRepository.findByHruidAndLanguage(
|
||||
'test_id',
|
||||
Language.Dutch
|
||||
);
|
||||
const learningPath = await learningPathRepository.findByHruidAndLanguage('test_id', Language.Dutch);
|
||||
|
||||
expect(learningPath).toBeNull();
|
||||
});
|
||||
|
||||
it('should return requested learning path', async () => {
|
||||
const learningPath =
|
||||
await learningPathRepository.findByHruidAndLanguage(
|
||||
'id01',
|
||||
Language.English
|
||||
);
|
||||
const learningPath = await learningPathRepository.findByHruidAndLanguage('id01', Language.English);
|
||||
|
||||
expect(learningPath).toBeTruthy();
|
||||
expect(learningPath?.title).toBe('repertoire Tool');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue