1
0
mirror of https://github.com/kremalicious/ipfs.git synced 2024-11-24 19:00:55 +01:00
ipfs/test/Layout.test.tsx

11 lines
305 B
TypeScript
Raw Normal View History

2019-12-08 17:27:44 +01:00
import React from 'react'
2021-09-12 20:57:02 +02:00
import { render, screen } from '@testing-library/react'
2021-09-13 23:55:29 +02:00
import Layout from '../src/Layout'
2019-12-08 17:27:44 +01:00
describe('Layout', () => {
it('renders without crashing', () => {
2021-09-12 20:57:02 +02:00
render(<Layout pageTitle="Hello">Hello</Layout>)
expect(screen.getByText('Hello')).toBeInTheDocument()
2019-12-08 17:27:44 +01:00
})
})