From 6a492df9ebb270afee94d0f8db596a7e887e631e Mon Sep 17 00:00:00 2001
From: Joe Banks <joseph@josephbanks.me>
Date: Sun, 27 Sep 2020 23:14:18 +0100
Subject: Initialize project using Create React App

---
 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..4db7ebc
--- /dev/null
+++ b/src/App.test.tsx
@@ -0,0 +1,9 @@
+import React from 'react';
+import { render } from '@testing-library/react';
+import App from './App';
+
+test('renders learn react link', () => {
+  const { getByText } = render(<App />);
+  const linkElement = getByText(/learn react/i);
+  expect(linkElement).toBeInTheDocument();
+});
-- 
cgit v1.2.3

