main
ts 11 lines 334 Bytes
Raw
1 import { mount } from "@vue/test-utils"
2
3 import { describe, expect, it } from "vitest"
4 import TestScope from "../common/TestScope.vue"
5
6 describe("sample Component", () => {
7 it("renders properly", () => {
8 const wrapper = mount(TestScope, { props: { msg: "Hello Vitest" } })
9 expect(wrapper.text()).toContain("Hello Vitest")
10 })
11 })