mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-13 10:56:05 +00:00
fix: invalid bootstrap icon in bootstrap-icon-markdown-extension.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
2abc697e6a
commit
eaea86c17d
2 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,9 @@
|
|||
|
||||
exports[`bootstrap icon markdown extension doesn't render invalid icon 1`] = `
|
||||
<div>
|
||||
<p />
|
||||
<p>
|
||||
:bi-INVALIDICONNAME:
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
@ -24,7 +24,7 @@ describe('bootstrap icon markdown extension', () => {
|
|||
|
||||
it("doesn't render invalid icon", () => {
|
||||
const view = render(
|
||||
<TestMarkdownRenderer extensions={[new BootstrapIconMarkdownExtension()]} content={':bi-123:'} />
|
||||
<TestMarkdownRenderer extensions={[new BootstrapIconMarkdownExtension()]} content={':bi-INVALIDICONNAME:'} />
|
||||
)
|
||||
expect(view.container).toMatchSnapshot()
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue