use a simple router

This commit is contained in:
Csaba Tuncsik 2024-11-27 16:03:30 +01:00
parent 74c1de9e38
commit 906dffe84c
No known key found for this signature in database

View file

@ -10,7 +10,7 @@ import type { Telemetry } from '@/plugins/telemetry';
import vueJsonPretty from 'vue-json-pretty';
import { merge } from 'lodash-es';
import type { TestingPinia } from '@pinia/testing';
import router from '@/router';
import { createRouter, createWebHistory } from 'vue-router';
export type RenderComponent = Parameters<typeof render>[0];
export type RenderOptions = Parameters<typeof render>[1] & {
@ -39,7 +39,10 @@ const defaultOptions = {
GlobalComponentsPlugin,
GlobalDirectivesPlugin,
TelemetryPlugin,
router,
createRouter({
history: createWebHistory(),
routes: [],
}),
],
},
};