style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									2f5bb333db
								
							
						
					
					
						commit
						fc92570282
					
				
					 16 changed files with 498 additions and 505 deletions
				
			
		|  | @ -151,19 +151,13 @@ describe('DatabaseLearningPathProvider', () => { | |||
|     describe('searchLearningPathsByAdmin', () => { | ||||
|         it('returns the learning path owned by the admin', async () => { | ||||
|             const expectedLearningPath = mapToLearningPath(testLearningPath02, [mapToTeacherDTO(teacherB)]); | ||||
|             const result = await databaseLearningPathProvider.searchLearningPathsByAdmin( | ||||
|                 [teacherB], | ||||
|                 expectedLearningPath.language | ||||
|             ); | ||||
|             const result = await databaseLearningPathProvider.searchLearningPathsByAdmin([teacherB], expectedLearningPath.language); | ||||
|             expect(result.length).toBe(1); | ||||
|             expect(result[0].title).toBe(expectedLearningPath.title); | ||||
|             expect(result[0].description).toBe(expectedLearningPath.description); | ||||
|         }); | ||||
|         it('returns an empty result when querying admins that do not have custom learning paths', async() => { | ||||
|             const result = await databaseLearningPathProvider.searchLearningPathsByAdmin( | ||||
|                 [teacherA], | ||||
|                 testLearningPath.language | ||||
|             ); | ||||
|         it('returns an empty result when querying admins that do not have custom learning paths', async () => { | ||||
|             const result = await databaseLearningPathProvider.searchLearningPathsByAdmin([teacherA], testLearningPath.language); | ||||
|             expect(result.length).toBe(0); | ||||
|         }); | ||||
|     }); | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action