From 9abc222c1422a9de2bf1fedb5833a310e634f6a7 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 3 Dec 2021 15:15:20 +0100 Subject: [PATCH] update(store): add test mode * add key to loading slot Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com> --- cypress/plugins/index.ts | 1 + src/container/VueFlow/VueFlow.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/plugins/index.ts b/cypress/plugins/index.ts index d62e8817..ebbd32af 100644 --- a/cypress/plugins/index.ts +++ b/cypress/plugins/index.ts @@ -6,6 +6,7 @@ export default ((on, config) => { startDevServer({ options, viteConfig: { + mode: 'test', configFile: resolve(__dirname, '..', '..', 'vite.config.ts'), }, }), diff --git a/src/container/VueFlow/VueFlow.vue b/src/container/VueFlow/VueFlow.vue index 26f955ca..ebb60f6d 100644 --- a/src/container/VueFlow/VueFlow.vue +++ b/src/container/VueFlow/VueFlow.vue @@ -244,8 +244,8 @@ export default {