mirror of
https://github.com/Kugelschieber/breach.git
synced 2026-01-18 12:00:25 +00:00
Formatting.
This commit is contained in:
@@ -3,12 +3,14 @@ import {shallowMount} from "@vue/test-utils";
|
|||||||
import HelloWorld from "../components/HelloWorld.vue";
|
import HelloWorld from "../components/HelloWorld.vue";
|
||||||
|
|
||||||
describe("HelloWorld.vue", () => {
|
describe("HelloWorld.vue", () => {
|
||||||
test("renders props.msg when passed", () => {
|
test("renders props.msg when passed", () => {
|
||||||
const msg = "new message"
|
const msg = "new message"
|
||||||
const wrapper = shallowMount(HelloWorld, {
|
const wrapper = shallowMount(HelloWorld, {
|
||||||
propsData: { msg }
|
propsData: {
|
||||||
});
|
msg
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
expect(wrapper.text()).toMatch(msg)
|
expect(wrapper.text()).toMatch(msg)
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user