Added SEO info
All checks were successful
Production PR / QA Tests (pull_request) Successful in 43s

This commit is contained in:
Liviu Burcusel 2026-01-12 16:55:41 +01:00
parent a1708317ec
commit 3dcde9e946
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,