Commit 302bceff authored by jojohoch's avatar jojohoch
Browse files

[player] Rename test for TextMarkingService

parent 9976c8c2
......@@ -19,7 +19,7 @@ describe('TextMarkingService', () => {
expect(TextMarkingService.getMarkingData(text)).toEqual(expectedArray);
});
it('should get an array with selections ', () => {
it('should mark a text with given selections ', () => {
const text = 'Lorem ipsum dolor sit amet';
const expectedText =
'Lorem <aspect-marked style="background-color: rgb(249, 248, 113);">ipsum</aspect-marked> dolor sit amet';
......@@ -27,5 +27,4 @@ describe('TextMarkingService', () => {
expect(TextMarkingService.restoreMarkings(markings, text)).toEqual(expectedText);
});
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment