11 lines
309 B
TypeScript
11 lines
309 B
TypeScript
import React from 'react'
|
|
import { render } from '@testing-library/react'
|
|
import Layout from './Layout'
|
|
|
|
describe('Layout', () => {
|
|
it('renders without crashing', () => {
|
|
const { container } = render(<Layout pageTitle="Hello">Hello</Layout>)
|
|
expect(container.firstChild).toBeInTheDocument()
|
|
})
|
|
})
|