Update backend/tests/services/learning-objects/database-learning-object-provider.test.ts
Co-authored-by: Tibo De Peuter <tibo.depeuter@ugent.be>
This commit is contained in:
parent
93af86f876
commit
b7bee0a4d4
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ describe('DatabaseLearningObjectProvider', () => {
|
|||
describe('getLearningObjectHTML', () => {
|
||||
it('should return the correct rendering of the learning object', async () => {
|
||||
const result = await databaseLearningObjectProvider.getLearningObjectHTML(exampleLearningObject);
|
||||
// Set newlines so your tests are platform-independent.
|
||||
expect(result).toEqual(example.getHTMLRendering().replace(/\r\n/g, '\n'));
|
||||
});
|
||||
it('should return null for a non-existing learning object', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue