diff --git a/src/components/Footer/Footer.test.jsx b/src/components/Footer/Footer.test.jsx new file mode 100644 index 0000000..8533cd6 --- /dev/null +++ b/src/components/Footer/Footer.test.jsx @@ -0,0 +1,25 @@ +import Footer from "./Footer.jsx"; +import { describe, it, expect } from "vitest"; +import { render, screen } from "@testing-library/react"; + +describe("Footer", () => { + it("renders the footer at the bottom of the page with each address property as a list item", () => { + const details = [ + "123 Fake Street, London, E1 4UD", + "hello@fakehotel.com", + "0123 456789", + ]; + + render(