mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
15 lines
495 B
TypeScript
15 lines
495 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.json'
|
|
import contentAlgo from '../../../content/pages/publishAlgo.json'
|
|
|
|
describe('Home', () => {
|
|
it('renders without crashing', () => {
|
|
const { container } = render(
|
|
<Publish content={content} contentAlgoPublish={contentAlgo} />
|
|
)
|
|
expect(container.firstChild).toBeInTheDocument()
|
|
})
|
|
})
|