From 5de7b3d676e47a228c035d871784fa5aef99841a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Viricel?= Date: Fri, 18 Dec 2020 02:07:15 +0100 Subject: [PATCH] Refactor Footer module + Add basic tesst file --- components/Footer/Footer.spec.js | 9 +++++++++ components/{Footer.vue => Footer/index.vue} | 0 2 files changed, 9 insertions(+) create mode 100644 components/Footer/Footer.spec.js rename components/{Footer.vue => Footer/index.vue} (100%) diff --git a/components/Footer/Footer.spec.js b/components/Footer/Footer.spec.js new file mode 100644 index 0000000..0e6012c --- /dev/null +++ b/components/Footer/Footer.spec.js @@ -0,0 +1,9 @@ +import { mount } from "@vue/test-utils"; +import Footer from "./"; + +describe("Footer", () => { + it("should render Footer instance", () => { + const wrapper = mount(Footer); + expect(wrapper.exists()).toBe(true); + }); +}); diff --git a/components/Footer.vue b/components/Footer/index.vue similarity index 100% rename from components/Footer.vue rename to components/Footer/index.vue