[Closes #12] Added title and other SEO fields
All checks were successful
Production Build and Deploy / Build (push) Successful in 1m14s
Production Build and Deploy / Deploy (push) Successful in 21s

This commit is contained in:
Liviu Burcusel 2026-01-12 17:01:51 +01:00
parent a1708317ec
commit 845f830ab3
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
7 changed files with 56 additions and 9 deletions

View file

@ -18,6 +18,7 @@ Object.defineProperty(global, "import", {
writable: true,
});
// Mock for breadcrumb store
const breadcrumbStoreMocks = vi.hoisted(() => ({
setBreadcrumbs: vi.fn(),
addBreadcrumb: vi.fn(),
@ -28,6 +29,17 @@ vi.mock("~/stores/breadcrumbs", () => ({
useBreadcrumbStore: () => breadcrumbStoreMocks,
}));
// Mock for #app
vi.mock("#app", () => ({
useRuntimeConfig: () => ({
public: {
appVersion: "1.0.1",
hostUrl: "http://localhost:3000",
},
}),
useSeoMeta: () => {},
}));
config.global.stubs = {
NuxtLayout: true,
NuxtPage: true,