aboutsummaryrefslogtreecommitdiff
path: root/src/App.test.js
diff options
context:
space:
mode:
authorLibravatar Renard 2020-03-08 18:04:24 -0300
committerLibravatar Renard 2020-03-08 18:04:24 -0300
commitd647b3e6628d76dbe207ce5991335c30787a8a6d (patch)
tree7881d6a43398a01b20a7e60c2e21b8d3b082b87c /src/App.test.js
downloadbairadio-app-d647b3e6628d76dbe207ce5991335c30787a8a6d.tar.gz
bairadio-app-d647b3e6628d76dbe207ce5991335c30787a8a6d.tar.xz
bairadio-app-d647b3e6628d76dbe207ce5991335c30787a8a6d.zip
First commit
Diffstat (limited to 'src/App.test.js')
-rw-r--r--src/App.test.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/App.test.js b/src/App.test.js
new file mode 100644
index 0000000..4db7ebc
--- /dev/null
+++ b/src/App.test.js
@@ -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();
+});