status/src/Layout.test.tsx

11 lines
309 B
TypeScript
Raw Normal View History

2019-09-16 14:53:19 +02:00
import React from 'react'
import { render } from '@testing-library/react'
2019-12-12 20:48:00 +01:00
import Layout from './Layout'
2019-09-16 11:28:08 +02:00
2019-12-07 23:02:18 +01:00
describe('Layout', () => {
2019-09-16 19:01:33 +02:00
it('renders without crashing', () => {
2019-12-07 23:02:18 +01:00
const { container } = render(<Layout pageTitle="Hello">Hello</Layout>)
expect(container.firstChild).toBeInTheDocument()
})
2019-09-16 14:53:19 +02:00
})