mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 07:30:11 +00:00
The collect-i18n script was failing with babel transformer error when encountering TypeScript declare fields in litegraph classes. Root cause: - Playwright internal TypeScript compilation does not handle declare fields properly - i18n test files imported ComfyNodeDefImpl which imports litegraph types Solution: - Move i18n tests to browser_tests/tests/ with .spec.ts extension - Remove direct imports of types that reference litegraph - Process node definitions in browser context where types are available - Use nx e2e command for consistency with other browser tests Fixes regression introduced after Nx integration