new components

This commit is contained in:
soyed 2021-03-28 18:19:40 -04:00
parent 88098c4ce4
commit 028c8a6e3d
11 changed files with 655 additions and 0 deletions

View file

View file

@ -0,0 +1,9 @@
import React, { Component } from "react";
class AgentPage extends Component {
render() {
return <div>AgentPage</div>;
}
}
export default AgentPage;

View file

@ -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(<AgentPage />);
expect(wrapper).toMatchSnapshot();
});
});

View file

@ -0,0 +1,9 @@
import React, { Component } from "react";
class ListingPage extends Component {
render() {
return <div>ListingPage</div>;
}
}
export default ListingPage;

View file

@ -0,0 +1,10 @@
import React from "react";
import { shallow } from "enzyme";
import ListingPage from "./listing-page";
describe("ListingPage", () => {
test("matches snapshot", () => {
const wrapper = shallow(<ListingPage />);
expect(wrapper).toMatchSnapshot();
});
});

View file

View file

@ -0,0 +1,9 @@
import React, { Component } from "react";
class ListingsPage extends Component {
render() {
return <div>ListingsPage</div>;
}
}
export default ListingsPage;

View file

@ -0,0 +1,10 @@
import React from "react";
import { shallow } from "enzyme";
import ListingsPage from "./listings-page";
describe("ListingsPage", () => {
test("matches snapshot", () => {
const wrapper = shallow(<ListingsPage />);
expect(wrapper).toMatchSnapshot();
});
});