* Added PrimeVue with TailwindCSS support and modified Homepage to test the changes. * Configured vitest to use PrimeVue and wrote a quick test for home page
11 lines
332 B
TypeScript
11 lines
332 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { mount, type VueWrapper } from "@vue/test-utils";
|
|
import IndexPage from "~/app/pages/index.vue";
|
|
|
|
describe("pages/index.vue", () => {
|
|
const wrapper: VueWrapper = mount(IndexPage, {});
|
|
|
|
it("loads without crashing", () => {
|
|
expect(wrapper.exists()).toBe(true);
|
|
});
|
|
});
|