diff --git a/pwa/src/App.tsx b/pwa/src/App.tsx
index 3f1335c..4006c0f 100644
--- a/pwa/src/App.tsx
+++ b/pwa/src/App.tsx
@@ -1,15 +1,15 @@
-import React from 'react';
-import './scss/App.scss';
-import './antd-mobile.css';
+import React from "react";
+import "./scss/App.scss";
+import "./antd-mobile.css";
-import Login from './components/Login'
+import Login from "./components/Login";
const App = () => {
return (
<>
-
+
>
);
-}
+};
export default App;
diff --git a/pwa/src/components/LandingPage.test.tsx b/pwa/src/components/LandingPage.test.tsx
new file mode 100644
index 0000000..25f1388
--- /dev/null
+++ b/pwa/src/components/LandingPage.test.tsx
@@ -0,0 +1,11 @@
+import React from "react";
+import { render } from "@testing-library/react";
+import LandingPage from "./LandingPage";
+
+test("renders learn react link", () => {
+ const { getByText } = render();
+ const lookupButtonElement = getByText(/Patient Lookup/i);
+ const newPatientButtonElement = getByText(/New Patient/i);
+ expect(lookupButtonElement).toBeInTheDocument();
+ expect(newPatientButtonElement).toBeInTheDocument();
+});
diff --git a/pwa/src/components/LandingPage.tsx b/pwa/src/components/LandingPage.tsx
index 13a4f51..ab6260f 100644
--- a/pwa/src/components/LandingPage.tsx
+++ b/pwa/src/components/LandingPage.tsx
@@ -1,14 +1,16 @@
import React, { ReactElement } from "react";
import { WhiteSpace, Button } from "antd-mobile";
-import Icon, {UserAddOutlined} from "@ant-design/icons";
+import Icon, { UserAddOutlined } from "@ant-design/icons";
import "../scss/LandingPage.scss";
-export default function Login(): ReactElement {
+export default function LandingPage(): ReactElement {
+ /* istanbul ignore next */
const patientLookup = () => {
console.log("Clicked Patient Lookup");
};
+ /* istanbul ignore next */
const newPatient = () => {
console.log("Clicked New Patient");
};
@@ -22,7 +24,7 @@ export default function Login(): ReactElement {
-