fix: pas testen aan zodat ze ook werken op windows

This commit is contained in:
Laure Jablonski 2025-03-15 17:50:19 +01:00
parent 99b77ffb5a
commit 24935f0e95
3 changed files with 5 additions and 5 deletions

View file

@ -68,7 +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();
expect(result).toEqual(learningObjectExample.getHTMLRendering());
expect(result).toEqual(learningObjectExample.getHTMLRendering().replace(/\r\n/g, '\n'));
});
it(
'returns the same HTML as the Dwengo API when queried with the identifier of a learning object that does ' +