Skip to content

Commit 38e97aa

Browse files
committed
test: implement test for gray background
1 parent ec342bd commit 38e97aa

File tree

3 files changed

+7453
-4
lines changed

3 files changed

+7453
-4
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)