Skip to content

Commit

Permalink
Merge pull request #8 from DianaIT/master
Browse files Browse the repository at this point in the history
fix grey_background at color-to-hex.ts
  • Loading branch information
asnunes authored Feb 6, 2021
2 parents 79cc274 + e1aa20d commit 6b4add0
Show file tree
Hide file tree
Showing 5 changed files with 7,455 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ describe('#convert', () => {

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ describe('#convert', () => {
it('returns html with ol tag with li tag inside and background', async () => {
const html = await makeSut(BlockMocks.ORDERED_LIST_WITH_SINGLE_ITEM_AND_FORMAT).convert();

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

Expand Down
Loading

0 comments on commit 6b4add0

Please sign in to comment.