* Added default layout for the site * App is in light mode by default. * App is in light mode by default.
11 lines
398 B
TypeScript
11 lines
398 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { mount, type VueWrapper } from "@vue/test-utils";
|
|
import Sidebar from "~/layouts/default/Sidebar.vue";
|
|
|
|
describe("Sidebar.vue", () => {
|
|
it("loads without crashing", () => {
|
|
const wrapper: VueWrapper = mount(Sidebar, {});
|
|
expect(wrapper.exists()).toBe(true);
|
|
expect(wrapper.find(".layout-sidebar").exists()).toBe(true);
|
|
});
|
|
});
|