mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
test(editor): Add router to unit tests
This commit is contained in:
parent
683ee42d3b
commit
74c1de9e38
|
@ -10,6 +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';
|
||||
|
||||
export type RenderComponent = Parameters<typeof render>[0];
|
||||
export type RenderOptions = Parameters<typeof render>[1] & {
|
||||
|
@ -38,6 +39,7 @@ const defaultOptions = {
|
|||
GlobalComponentsPlugin,
|
||||
GlobalDirectivesPlugin,
|
||||
TelemetryPlugin,
|
||||
router,
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue