From 02ebfed3c448538210796fac49da8f974cb976e5 Mon Sep 17 00:00:00 2001 From: pg75sc2al <2077276121@qq.com> Date: Sat, 12 Oct 2024 20:24:04 +0800 Subject: [PATCH] ADD file via upload --- App.test.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 App.test.js diff --git a/App.test.js b/App.test.js new file mode 100644 index 0000000..1f03afe --- /dev/null +++ b/App.test.js @@ -0,0 +1,8 @@ +import { render, screen } from '@testing-library/react'; +import App from './App'; + +test('renders learn react link', () => { + render(); + const linkElement = screen.getByText(/learn react/i); + expect(linkElement).toBeInTheDocument(); +});