11 lines
309 B
TypeScript
11 lines
309 B
TypeScript
import { describe, it, expect } from "vitest";
|
|
|
|
import { mount } from "@vue/test-utils";
|
|
import HomeView from "../../src/views/HomeView.vue";
|
|
|
|
describe("HomeView", () => {
|
|
const wrapper = mount(HomeView);
|
|
it("renders properly", () => {
|
|
expect(wrapper.text()).toContain("This is home page");
|
|
});
|
|
});
|