From a3bfa3364771ca8d6ffd6eb593c114b43e23c53f Mon Sep 17 00:00:00 2001 From: Csaba Tuncsik Date: Wed, 27 Nov 2024 16:16:12 +0100 Subject: [PATCH] add a fake route --- packages/editor-ui/src/__tests__/render.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/editor-ui/src/__tests__/render.ts b/packages/editor-ui/src/__tests__/render.ts index 4cf59b0131..6542704ae0 100644 --- a/packages/editor-ui/src/__tests__/render.ts +++ b/packages/editor-ui/src/__tests__/render.ts @@ -41,7 +41,12 @@ const defaultOptions = { TelemetryPlugin, createRouter({ history: createWebHistory(), - routes: [], + routes: [ + { + path: '/', + component: { template: '
' }, + }, + ], }), ], },