This commit is contained in:
kakkokari-gtyih 2024-08-12 17:51:57 +09:00
parent 0abd256f44
commit dcfe8738a9
1 changed files with 3 additions and 1 deletions

View File

@ -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 = { type ComponentDef = {
component: Component; component: Component;