Skip to content

Commit 6b4add0

Browse files
authored
Merge pull request #8 from DianaIT/master
fix grey_background at color-to-hex.ts
2 parents 79cc274 + e1aa20d commit 6b4add0

File tree

5 files changed

+7455
-6
lines changed

5 files changed

+7455
-6
lines changed

__tests__/data/usecases/blocks-to-html-converter/block-parsers/decorations/decoration-parsers/color.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe('#convert', () => {
150150

151151
const result = await new ColorDecorationToHtml(text, decoration).convert();
152152

153-
expect(result).toBe('<span style="background-color: #E03E3E;">Text with color</span>');
153+
expect(result).toBe('<span style="background-color: #B4AEAE;">Text with color</span>');
154154
});
155155
});
156156

__tests__/data/usecases/blocks-to-html-converter/blocks-to-html-converter.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ describe('#convert', () => {
361361
it('returns html with ol tag with li tag inside and background', async () => {
362362
const html = await makeSut(BlockMocks.ORDERED_LIST_WITH_SINGLE_ITEM_AND_FORMAT).convert();
363363

364-
expect(html).toBe('<ol style="background-color: #E03E3E; ">\n<li>This is a item with background</li>\n</ol>');
364+
expect(html).toBe('<ol style="background-color: #B4AEAE; ">\n<li>This is a item with background</li>\n</ol>');
365365
});
366366
});
367367

0 commit comments

Comments
 (0)