From dcfe8738a9d06ac8cacab3d7b4f3f60bd1700b29 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Mon, 12 Aug 2024 17:51:57 +0900 Subject: [PATCH] fix test --- packages/frontend/src/components/MkTutorial.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkTutorial.vue b/packages/frontend/src/components/MkTutorial.vue index d170926a9a..dbde6f80ff 100644 --- a/packages/frontend/src/components/MkTutorial.vue +++ b/packages/frontend/src/components/MkTutorial.vue @@ -178,7 +178,9 @@ const emit = defineEmits<{ }>(); // テストの場合は全インタラクションをスキップする -const isTest = (import.meta.env.MODE === 'test'); +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-expect-error +const isTest = (import.meta.env.MODE === 'test' || window.Cypress != null); type ComponentDef = { component: Component;