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