made the route for the pages, navbar and footer of the application
This commit is contained in:
parent
a6f889de46
commit
b03cbe3164
21 changed files with 193 additions and 66 deletions
10
src/shared-components/contact-us/Contact-us.test.js
Normal file
10
src/shared-components/contact-us/Contact-us.test.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import React from "react";
|
||||
import { shallow } from "enzyme";
|
||||
import ContactUs from "./Contact-us";
|
||||
|
||||
describe("ContactUs", () => {
|
||||
test("matches snapshot", () => {
|
||||
const wrapper = shallow(<ContactUs />);
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
import React, { Component } from "react";
|
||||
|
||||
class ContactUs extends Component {
|
||||
render() {
|
||||
return <div>ContactUs</div>;
|
||||
}
|
||||
}
|
||||
|
||||
export default ContactUs;
|
||||
1
src/shared-components/contact-us/index.js
Normal file
1
src/shared-components/contact-us/index.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
export { default } from "./Contact-us";
|
||||
Loading…
Add table
Add a link
Reference in a new issue