1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 09:44:53 +01:00
market/tests/unit/components/Markdown.test.tsx

11 lines
329 B
TypeScript
Raw Normal View History

2020-05-07 08:03:30 +02:00
import React from 'react'
import { render } from '@testing-library/react'
import Markdown from '../../../src/components/atoms/Markdown'
describe('Markdown', () => {
it('renders without crashing', () => {
const { container } = render(<Markdown text="#hello" />)
expect(container.firstChild).toBeInTheDocument()
})
})