Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
test: add #world tag test
Browse files Browse the repository at this point in the history
  • Loading branch information
zxch3n committed Oct 19, 2020
1 parent 5c820f5 commit b2997c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/renderer/components/Kanban/Card/formatMarkdown.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ describe('Markdown tag', () => {
);
});

it('#world', () => {
expect(parseTag(`#world`).trim()).toEqual(`<span class="pl-tag" ${style}>#world</span>`);
});

it("'hello'", () => {
expect(formatMarkdown("'hello'").trim()).toEqual('<p>&#39;hello&#39;</p>');
});
Expand Down

0 comments on commit b2997c2

Please sign in to comment.