Website/db/app/pages/index.test.tsx

14 lines
465 B
TypeScript
Raw Normal View History

2021-12-18 22:34:07 -05:00
import { render } from "test/utils"
import Home from "./index"
test.skip("renders blitz documentation link", () => {
// This is an example of how to ensure a specific item is in the document
// But it's disabled by default (by test.skip) so the test doesn't fail
// when you remove the the default content from the page
const { getByText } = render(<Home />)
const linkElement = getByText(/Documentation/i)
expect(linkElement).toBeInTheDocument()
})