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:
雨霖铃
2026-01-21 23:27:18 +08:00
parent 1c258e2bf4
commit b6eeb74fed
+7 -7
View File
@@ -1,8 +1,8 @@
import { render, screen } from '@testing-library/react'; // import { render, screen } from '@testing-library/react';
import App from './App'; // import App from './App';
test('renders learn react link', () => { // test('renders learn react link', () => {
render(<App />); // render(<App />);
const linkElement = screen.getByText(/learn react/i); // const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument(); // expect(linkElement).toBeInTheDocument();
}); // });