GF-6, #8 Added auth.
Some checks failed
Production PR / QA Tests (pull_request) Failing after 13s
Some checks failed
Production PR / QA Tests (pull_request) Failing after 13s
This commit is contained in:
parent
e8818d6eaa
commit
10e4363cbd
60 changed files with 4855 additions and 160 deletions
|
|
@ -1,5 +1,13 @@
|
|||
import { vi } from "vitest";
|
||||
import { config } from "@vue/test-utils";
|
||||
import * as vue from "vue";
|
||||
|
||||
(global as any).ref = vue.ref;
|
||||
(global as any).reactive = vue.reactive;
|
||||
(global as any).computed = vue.computed;
|
||||
(global as any).watch = vue.watch;
|
||||
(global as any).onMounted = vue.onMounted;
|
||||
(global as any).onUnmounted = vue.onUnmounted;
|
||||
|
||||
Object.defineProperty(global, "import", {
|
||||
value: {
|
||||
|
|
@ -15,5 +23,6 @@ config.global.stubs = {
|
|||
NuxtPage: true,
|
||||
Divider: true,
|
||||
NuxtRouteAnnouncer: true,
|
||||
NuxtLink: { template: "<a><slot /></a>" },
|
||||
NuxtLink: { template: "<a><slot /></a>", props: ["to"] },
|
||||
ClientOnly: { template: "<div class='client-only'><slot /></div>" },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue