fix: pas testen aan zodat ze ook werken op windows
This commit is contained in:
parent
99b77ffb5a
commit
24935f0e95
3 changed files with 5 additions and 5 deletions
|
@ -60,7 +60,7 @@ describe('DatabaseLearningObjectProvider', () => {
|
|||
describe('getLearningObjectHTML', () => {
|
||||
it('should return the correct rendering of the learning object', async () => {
|
||||
const result = await databaseLearningObjectProvider.getLearningObjectHTML(exampleLearningObject);
|
||||
expect(result).toEqual(example.getHTMLRendering());
|
||||
expect(result).toEqual(example.getHTMLRendering().replace(/\r\n/g, '\n'));
|
||||
});
|
||||
it('should return null for a non-existing learning object', async () => {
|
||||
const result = await databaseLearningObjectProvider.getLearningObjectHTML({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue