import { render } from "@testing-library/preact"
import { expect } from "chai"

import App from "./App"



describe('<App>', () => {
    it('renders learn react link', () => {
        const { getByText } = render(<App />)
        const linkElement = getByText(/learn preact/i)
        expect(document.body.contains(linkElement))
    })
})
