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

12 lines
384 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 Publish from '../../../src/components/pages/Publish'
2020-09-02 11:43:15 +02:00
import content from '../../../content/pages/publish.json'
2020-05-07 08:03:30 +02:00
describe('Home', () => {
it('renders without crashing', () => {
2020-09-02 11:43:15 +02:00
const { container } = render(<Publish content={content} />)
2020-05-07 08:03:30 +02:00
expect(container.firstChild).toBeInTheDocument()
})
})