aboutsummaryrefslogtreecommitdiff
path: root/src/App.test.js
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2019-12-30 23:22:04 +0300
committerEug-VS <eug-vs@keemail.me>2019-12-30 23:22:04 +0300
commite02d553503992c4ecbf1fa5b263dce33b4814d6d (patch)
treebf4f8efd07a143b52a699ad3db9780ce59db7b7b /src/App.test.js
downloadchrono-cube-ui-e02d553503992c4ecbf1fa5b263dce33b4814d6d.tar.gz
Initial commit from Create React App
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();
+});