diff --git a/packages/openneuro-app/src/scripts/utils/__tests__/markdown.spec.tsx b/packages/openneuro-app/src/scripts/utils/__tests__/markdown.spec.tsx index c5ede5152..6ea155646 100644 --- a/packages/openneuro-app/src/scripts/utils/__tests__/markdown.spec.tsx +++ b/packages/openneuro-app/src/scripts/utils/__tests__/markdown.spec.tsx @@ -26,4 +26,10 @@ describe("Test component", () => { const { asFragment } = render({hrefExample}) expect(asFragment()).toMatchSnapshot() }) + it("filters close-break tags", () => { + const hrefExample = + '
sample text
' + const { asFragment } = render({hrefExample}) + expect(asFragment()).toMatchSnapshot() + }) })