Update backend/tests/services/learning-objects/learning-object-service.test.ts
Co-authored-by: Tibo De Peuter <tibo.depeuter@ugent.be>
This commit is contained in:
		
							parent
							
								
									f3d1ca8867
								
							
						
					
					
						commit
						93af86f876
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -68,6 +68,7 @@ describe('LearningObjectService', () => { | |||
|         it('returns the expected HTML when queried with the identifier of a learning object saved in the database', async () => { | ||||
|             const result = await learningObjectService.getLearningObjectHTML(exampleLearningObject); | ||||
|             expect(result).not.toBeNull(); | ||||
|             // Set newlines so your tests are platform-independent.
 | ||||
|             expect(result).toEqual(learningObjectExample.getHTMLRendering().replace(/\r\n/g, '\n')); | ||||
|         }); | ||||
|         it( | ||||
|  |  | |||
		Reference in a new issue
	
	 Laure Jablonski
						Laure Jablonski