Merge branch 'master' of https://github.com/ArcticHawk1/SEG3125-LAB8 into homepage

This commit is contained in:
Batuhan Basoglu 2021-03-28 19:02:59 -04:00
commit 3e8d92c230
4 changed files with 20 additions and 0 deletions

View file

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

View file

View file

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

View file

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