Refactor Footer module + Add basic tesst file

This commit is contained in:
2020-12-18 02:07:15 +01:00
parent cde972e20e
commit 5de7b3d676
2 changed files with 9 additions and 0 deletions

View File

@@ -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);
});
});

View File

@@ -0,0 +1,18 @@
<template>
<footer
class="bg-gray-900 text-gray-300 flex items-center justify-center h-16"
>
<p>
©2020 Made with <span style="color: red;">&#9829;</span> by
<a href="https://wazo-lab.io" target="_blank">Wazo Lab</a>
</p>
</footer>
</template>
<script>
export default {
name: "Footer"
};
</script>
<style></style>