summaryrefslogtreecommitdiffstats
path: root/client/src/App.test.js
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-06-27 16:15:51 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-06-27 16:15:51 +0530
commite98952d946913b4bc1672ead042339d66d491b35 (patch)
tree96706645f37f8379fa35001c172eaee88c5fe7b4 /client/src/App.test.js
parent26dc4df1218e6d7235fc196b556da122054247df (diff)
downloadinsta-local-e98952d946913b4bc1672ead042339d66d491b35.tar.gz
insta-local-e98952d946913b4bc1672ead042339d66d491b35.tar.bz2
insta-local-e98952d946913b4bc1672ead042339d66d491b35.zip
added react app
Diffstat (limited to 'client/src/App.test.js')
-rw-r--r--client/src/App.test.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/App.test.js b/client/src/App.test.js
new file mode 100644
index 0000000..1f03afe
--- /dev/null
+++ b/client/src/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();
+});