mirror of
https://github.com/kremalicious/ipfs.git
synced 2024-12-29 08:07:47 +01:00
11 lines
305 B
TypeScript
11 lines
305 B
TypeScript
import React from 'react'
|
|
import { render, screen } from '@testing-library/react'
|
|
import Layout from '../src/Layout'
|
|
|
|
describe('Layout', () => {
|
|
it('renders without crashing', () => {
|
|
render(<Layout pageTitle="Hello">Hello</Layout>)
|
|
expect(screen.getByText('Hello')).toBeInTheDocument()
|
|
})
|
|
})
|