fix: invalid bootstrap icon in bootstrap-icon-markdown-extension.spec.tsx

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-04-12 18:50:32 +02:00
parent 2abc697e6a
commit eaea86c17d
2 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,9 @@
exports[`bootstrap icon markdown extension doesn't render invalid icon 1`] = `
<div>
<p />
<p>
:bi-INVALIDICONNAME:
</p>
</div>

View file

@ -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()
})