aboutsummaryrefslogtreecommitdiff
path: root/src/App.test.js
diff options
context:
space:
mode:
authorIndrajith K L2019-12-11 15:18:13 +0530
committerIndrajith K L2019-12-11 15:18:13 +0530
commit53e5edb3d93d957f82034be43940d560540525a8 (patch)
tree7de46edc0ddb2ed8eac07810aeba35f03e39bd66 /src/App.test.js
downloadreact-redux-saga-starter-53e5edb3d93d957f82034be43940d560540525a8.tar.gz
react-redux-saga-starter-53e5edb3d93d957f82034be43940d560540525a8.tar.bz2
react-redux-saga-starter-53e5edb3d93d957f82034be43940d560540525a8.zip
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();
+});