We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d04b3fa commit b671b3dCopy full SHA for b671b3d
1 file changed
front-end/src/App.test.js
@@ -3,6 +3,6 @@ import App from './App';
3
4
test('renders learn react link', () => {
5
render(<App />);
6
- const linkElement = screen.getById("testApp");
+ const linkElement = screen.getByTestId('testApp');
7
expect(linkElement).toBeInTheDocument();
8
});
0 commit comments