made the route for the pages, navbar and footer of the application

This commit is contained in:
soyed 2021-03-31 00:30:37 -04:00
parent a6f889de46
commit b03cbe3164
21 changed files with 193 additions and 66 deletions

View file

9
src/homePage/homePage.js Normal file
View file

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

View file

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

1
src/homePage/index.js Normal file
View file

@ -0,0 +1 @@
export { default } from "./homePage";