Client - init new frontend version with vue-cli

This commit is contained in:
Sam
2021-07-24 20:56:37 +02:00
parent 6d1de3c3bb
commit 23c4708217
34 changed files with 10497 additions and 0 deletions

View File

@ -0,0 +1,13 @@
import { expect } from "chai";
import { shallowMount } from "@vue/test-utils";
import HelloWorld from "@/components/HelloWorld.vue";
describe("HelloWorld.vue", () => {
it("renders props.msg when passed", () => {
const msg = "new message";
const wrapper = shallowMount(HelloWorld, {
props: { msg },
});
expect(wrapper.text()).to.include(msg);
});
});