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

10 lines
298 B
JavaScript

// Link.react.test.js
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()
});