commons/admin/src/components/atoms/Markdown.test.tsx

11 lines
315 B
TypeScript

import React from 'react'
import { render } from '@testing-library/react'
import Markdown from './Markdown'
describe('Markdown', () => {
it('renders without crashing', () => {
const { container } = render(<Markdown text={'#hello'} />)
expect(container.firstChild).toBeInTheDocument()
})
})