Archipelago — open-source initial import

This commit is contained in:
Archipelago
2026-08-12 10:55:50 +00:00
commit 07c37b83e8
1578 changed files with 333070 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import { config } from '@vue/test-utils'
import { displayVersion } from '@/utils/version'
// The app registers `$ver` as a global template property in main.ts
// (app.config.globalProperties.$ver = displayVersion). Component tests mount
// without that bootstrap, so provide the same global here for every mounted
// component. Per-mount `global` options merge with this, so individual tests
// keep their own plugins/mocks.
config.global.mocks = { ...(config.global.mocks ?? {}), $ver: displayVersion }