mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
15 lines
361 B
TypeScript
15 lines
361 B
TypeScript
|
import React from 'react'
|
||
|
import { render } from '@testing-library/react'
|
||
|
import Layout from '../../src/Layout'
|
||
|
|
||
|
describe('Layout', () => {
|
||
|
it('renders without crashing', () => {
|
||
|
const { container } = render(
|
||
|
<Layout title="Hello" description="Hello">
|
||
|
Hello
|
||
|
</Layout>
|
||
|
)
|
||
|
expect(container.firstChild).toBeInTheDocument()
|
||
|
})
|
||
|
})
|