Added TOS and PrivPol pages.
All checks were successful
Production PR / QA Tests (pull_request) Successful in 45s

This commit is contained in:
Liviu Burcusel 2026-01-15 15:40:15 +01:00
parent 0add58254d
commit dc65e01bec
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
14 changed files with 98 additions and 24 deletions

View file

@ -3,6 +3,7 @@ import { describe, expect, it, vi, beforeAll, afterAll } from "vitest";
import SidebarLayout from "~/layouts/default/Sidebar.vue";
import { ref } from "vue";
import type * as SidebarUI from "~/components/ui/sidebar";
import { useRuntimeConfig } from "#app";
const { useSidebarMock } = vi.hoisted(() => ({
useSidebarMock: vi.fn(),
@ -112,6 +113,7 @@ vi.mock("lucide-vue-next", () => {
ChevronsUpDown: MockIcon,
CreditCard: MockIcon,
BookOpen: MockIcon,
BookOpenText: MockIcon,
HandCoins: MockIcon,
LogIn: MockIcon,
LogOut: MockIcon,
@ -162,7 +164,7 @@ describe("SidebarLayout", () => {
});
await flushPromises();
expect(wrapper.text()).toContain("Glowing Fiesta");
expect(wrapper.text()).toContain("v1.0.0");
expect(wrapper.text()).toContain(`v${useRuntimeConfig().public.appVersion}`);
});
it("renders sidebar content correctly", async () => {