We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b02bf commit 1fac51dCopy full SHA for 1fac51d
src/App.test.tsx
@@ -1,9 +1,9 @@
1
-import React from 'react';
2
-import { render, screen } from '@testing-library/react';
3
-import App from './App';
+import React from "react";
+import { render, screen } from "@testing-library/react";
+import App from "./App";
4
5
-test('renders learn react link', () => {
+test("renders Home link", () => {
6
render(<App />);
7
- const linkElement = screen.getByText(/learn react/i);
+ const linkElement = screen.getByText(/Home/i);
8
expect(linkElement).toBeInTheDocument();
9
});
0 commit comments