mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-24 05:54:18 +00:00
10 lines
276 B
JavaScript
10 lines
276 B
JavaScript
import React from "react"
|
|
import "@testing-library/jest-dom/extend-expect"
|
|
import { render, screen } from "@testing-library/react"
|
|
import App from "./App"
|
|
|
|
|
|
test("App renders without exploding", () => {
|
|
render(<App/>)
|
|
expect(screen.getByRole("main")).toBeVisible()
|
|
})
|