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

11 lines
314 B
TypeScript
Raw Normal View History

2019-04-30 19:19:28 +02:00
import React from 'react'
import { render } from 'react-testing-library'
import Markdown from './Markdown'
describe('Markdown', () => {
it('renders without crashing', () => {
const { container } = render(<Markdown text={'#hello'} />)
expect(container.firstChild).toBeInTheDocument()
})
})