[Closes #12] Added title and other SEO fields
This commit is contained in:
parent
a1708317ec
commit
845f830ab3
7 changed files with 56 additions and 9 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue