You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
337 B
JavaScript
12 lines
337 B
JavaScript
import { describe, it, expect } from "vitest";
|
|
|
|
import { mount } from "@vue/test-utils";
|
|
import HelloWorld from "../HelloWorld.vue";
|
|
|
|
describe("HelloWorld", () => {
|
|
it("renders properly", () => {
|
|
const wrapper = mount(HelloWorld, { props: { msg: "Hello Vitest" } });
|
|
expect(wrapper.text()).toContain("Hello Vitest");
|
|
});
|
|
});
|