style: fix linting issues met ESLint
This commit is contained in:
		
							parent
							
								
									9f28e4ed17
								
							
						
					
					
						commit
						28e0a7b45d
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -14,8 +14,8 @@ import {LearningPath} from "../../../src/entities/content/learning-path.entity"; | |||
| async function initExampleData(): Promise<{learningObject: LearningObject, learningPath: LearningPath}> { | ||||
|     const learningObjectRepo = getLearningObjectRepository(); | ||||
|     const learningPathRepo = getLearningPathRepository(); | ||||
|     let learningObject = learningObjectExample.createLearningObject(); | ||||
|     let learningPath = learningPathExample.createLearningPath(); | ||||
|     const learningObject = learningObjectExample.createLearningObject(); | ||||
|     const learningPath = learningPathExample.createLearningPath(); | ||||
|     await learningObjectRepo.save(learningObject); | ||||
|     await learningPathRepo.save(learningPath); | ||||
|     return { learningObject, learningPath }; | ||||
|  | @ -29,7 +29,7 @@ describe('DatabaseLearningObjectProvider', () => { | |||
| 
 | ||||
|     beforeAll(async () => { | ||||
|         await setupTestApp(); | ||||
|         let exampleData = await initExampleData(); | ||||
|         const exampleData = await initExampleData(); | ||||
|         exampleLearningObject = exampleData.learningObject; | ||||
|         exampleLearningPath = exampleData.learningPath; | ||||
|     }); | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action