From f2ecc1803f3ea294a0c6b7915b61348ed0395b26 Mon Sep 17 00:00:00 2001
From: Marcin Zelent <marcin@zelent.net>
Date: Wed, 16 Nov 2022 15:16:38 +0100
Subject: Remade and extended the app using React

---
 src/App.test.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 src/App.test.tsx

(limited to 'src/App.test.tsx')

diff --git a/src/App.test.tsx b/src/App.test.tsx
new file mode 100644
index 0000000..585a39e
--- /dev/null
+++ b/src/App.test.tsx
@@ -0,0 +1,9 @@
+import React from 'react';
+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();
+});
-- 
cgit v1.2.3

