import { expect } from "chai"; import * as React from "react"; import { shallow } from "enzyme"; import Footer from "../Footer"; describe("Footer", () => { let wrapper; let collection = { id: "collection", title: "Collection", url: "Collection", lanes: [], books: [], navigationLinks: [], links: [ { url: "about", type: "about", text: "abcd" }, { url: "terms", type: "terms-of-service", text: null }, { url: "unknown", type: "unknown", text: null } ] }; beforeEach(() => { wrapper = shallow(