11 lines
315 B
TypeScript
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()
|
|
})
|
|
})
|