From 16e90f0fea121c2f759bfc5e03a5c6a00cca927e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Berk=20Ba=C5=9Fo=C4=9Flu?= Date: Mon, 29 Mar 2021 19:40:43 -0400 Subject: [PATCH] Fixed a typo. --- src/agent-page/agent-page.css | 0 src/agent-page/agent-page.js | 9 +++++++++ src/agent-page/agent-page.test.js | 10 ++++++++++ 3 files changed, 19 insertions(+) create mode 100644 src/agent-page/agent-page.css create mode 100644 src/agent-page/agent-page.js create mode 100644 src/agent-page/agent-page.test.js diff --git a/src/agent-page/agent-page.css b/src/agent-page/agent-page.css new file mode 100644 index 0000000..e69de29 diff --git a/src/agent-page/agent-page.js b/src/agent-page/agent-page.js new file mode 100644 index 0000000..a53bbf7 --- /dev/null +++ b/src/agent-page/agent-page.js @@ -0,0 +1,9 @@ +import React, { Component } from "react"; + +class AgentPage extends Component { + render() { + return
AgentPage
; + } +} + +export default AgentPage; diff --git a/src/agent-page/agent-page.test.js b/src/agent-page/agent-page.test.js new file mode 100644 index 0000000..7829e43 --- /dev/null +++ b/src/agent-page/agent-page.test.js @@ -0,0 +1,10 @@ +import React from "react"; +import { shallow } from "enzyme"; +import AgentPage from "./agent-page"; + +describe("AgentPage", () => { + test("matches snapshot", () => { + const wrapper = shallow(); + expect(wrapper).toMatchSnapshot(); + }); +});