1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 04:54:18 +00:00
pds-2021-g2-nest/nest_frontend/App.test.js

11 lines
276 B
JavaScript
Raw Normal View History

2021-05-18 00:48:34 +00:00
import React from "react"
import "@testing-library/jest-dom/extend-expect"
import { render, screen } from "@testing-library/react"
2021-05-13 22:10:54 +00:00
import App from "./App"
2021-05-18 00:48:34 +00:00
test("App renders without exploding", () => {
2021-05-13 22:10:54 +00:00
render(<App/>)
expect(screen.getByRole("main")).toBeVisible()
2021-05-18 00:48:34 +00:00
})