1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00
market/tests/unit/testRender.ts

11 lines
300 B
TypeScript
Raw Normal View History

import { render } from '@testing-library/react'
import { ReactElement } from 'react'
2020-06-30 16:22:22 +02:00
export default function testRender(component: ReactElement): void {
it('renders without crashing', () => {
const { container } = render(component)
expect(container.firstChild).toBeInTheDocument()
})
}