Skip to content

Commit 1fac51d

Browse files
committed
Fix render test
1 parent 02b02bf commit 1fac51d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/App.test.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import React from 'react';
2-
import { render, screen } from '@testing-library/react';
3-
import App from './App';
1+
import React from "react";
2+
import { render, screen } from "@testing-library/react";
3+
import App from "./App";
44

5-
test('renders learn react link', () => {
5+
test("renders Home link", () => {
66
render(<App />);
7-
const linkElement = screen.getByText(/learn react/i);
7+
const linkElement = screen.getByText(/Home/i);
88
expect(linkElement).toBeInTheDocument();
99
});

0 commit comments

Comments
 (0)