Add test component; Run prettier

This commit is contained in:
Manuel Prodinger
2022-03-23 10:50:48 +01:00
parent 78a505eb44
commit aa9c894de1
7 changed files with 25 additions and 23 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import { render, screen } from '@testing-library/react';
import App from './App';
import { render, screen } from "@testing-library/react";
import App from "./App";
test('renders learn react link', () => {
test("renders learn react link", () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();