mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-06-27 01:57:17 +00:00
fix(test): repoint AppMode type import to @/utils/appMode
AppMode was moved from @/composables/useAppMode to @/utils/appMode in #12925, but WorkflowHelper.ts still imported it from the old module. typecheck:browser only runs when a PR touches browser_tests/, so the refactor never surfaced the break; this PR adds a browser test and trips it (TS2459).
This commit is contained in:
@@ -2,7 +2,7 @@ import { readFileSync } from 'fs'
|
||||
|
||||
import { test } from '@playwright/test'
|
||||
|
||||
import type { AppMode } from '@/composables/useAppMode'
|
||||
import type { AppMode } from '@/utils/appMode'
|
||||
import type {
|
||||
ComfyApiWorkflow,
|
||||
ComfyWorkflowJSON
|
||||
|
||||
Reference in New Issue
Block a user