Comments out sample React test code
Temporarily disables default test to prevent it from running, likely in preparation for custom tests or to avoid irrelevant test failures during development.
This commit is contained in:
+7
-7
@@ -1,8 +1,8 @@
|
||||
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', () => {
|
||||
render(<App />);
|
||||
const linkElement = screen.getByText(/learn react/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
||||
// test('renders learn react link', () => {
|
||||
// render(<App />);
|
||||
// const linkElement = screen.getByText(/learn react/i);
|
||||
// expect(linkElement).toBeInTheDocument();
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user