aboutsummaryrefslogtreecommitdiff
path: root/maps-frontend/src/App.test.js
diff options
context:
space:
mode:
authorMichael Foiani <sotech117@michaels-mbp-3.lan>2021-04-16 15:13:02 -0400
committerMichael Foiani <sotech117@michaels-mbp-3.lan>2021-04-16 15:13:02 -0400
commitf00ac29dff86169e5dee9d816961cc13979f9a50 (patch)
tree024ac2af25a2f3119d0e1d13a8e31f099795a448 /maps-frontend/src/App.test.js
parent505870f7a9f6f0ad8130cee3995d68b10010c24d (diff)
Working on adapting maps frontend. Finished the time selector to change the time interval.
Diffstat (limited to 'maps-frontend/src/App.test.js')
-rw-r--r--maps-frontend/src/App.test.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/maps-frontend/src/App.test.js b/maps-frontend/src/App.test.js
new file mode 100644
index 0000000..1f03afe
--- /dev/null
+++ b/maps-frontend/src/App.test.js
@@ -0,0 +1,8 @@
+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();
+});