Update backend/tests/services/learning-objects/processing/processing-service.test.ts
Co-authored-by: Tibo De Peuter <tibo.depeuter@ugent.be>
This commit is contained in:
parent
b7bee0a4d4
commit
c99db86902
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ describe('ProcessingService', () => {
|
|||
it('renders a markdown learning object correctly', async () => {
|
||||
const markdownLearningObject = mdExample.createLearningObject();
|
||||
const result = await processingService.render(markdownLearningObject);
|
||||
// Set newlines so your tests are platform-independent.
|
||||
expect(result).toEqual(mdExample.getHTMLRendering().replace(/\r\n/g, '\n'));
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue