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
390 B
TypeScript

import React from 'react'
import { render } from '@testing-library/react'
import Publish from '../../../src/components/pages/Publish'
import content from '../../../content/pages/publish/index.json'
describe('Home', () => {
it('renders without crashing', () => {
const { container } = render(<Publish content={content} />)
expect(container.firstChild).toBeInTheDocument()
})
})