Update App.test.js
This commit is contained in:
parent
c41d1835aa
commit
86c0df290d
@ -1,8 +1,8 @@
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import App from './App';
|
||||
|
||||
test('renders learn react link', () => {
|
||||
test('renders Anthony Yvon Dumas', () => {
|
||||
render(<App />);
|
||||
const linkElement = screen.getByText(/learn react/i);
|
||||
const linkElement = screen.getByText(/Anthony Yvon Dumas/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user