aboutsummaryrefslogtreecommitdiff
path: root/client/src/tests/App.test.js
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2025-04-27 22:44:20 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2025-04-27 22:44:20 -0600
commit37787895d56888ab44362252f21fb05c05e97250 (patch)
tree5ff7eaababa6fffd5dc950920f521c5f242010af /client/src/tests/App.test.js
parentf32142947b853076889801913d47b8c2c0f4f456 (diff)
reorganize
Diffstat (limited to 'client/src/tests/App.test.js')
-rw-r--r--client/src/tests/App.test.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/tests/App.test.js b/client/src/tests/App.test.js
new file mode 100644
index 0000000..1f03afe
--- /dev/null
+++ b/client/src/tests/App.test.js
@@ -0,0 +1,8 @@
+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();
+});