mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 01:39:47 +00:00
- Remove prebuild-litegraph.js and restore-litegraph.js scripts - Add i18nSetup.ts module for litegraph TypeScript 'declare' keyword preprocessing - Create ComfyPageNoUser fixture to avoid user creation conflicts in i18n tests - Update playwright.i18n.config.ts to use integrated setup/teardown - Simplify collect-i18n command to just run Playwright tests - Ensure pnpm collect-i18n works correctly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
395 B
TypeScript
14 lines
395 B
TypeScript
/**
|
|
* Combined global teardown for i18n collection tests
|
|
* Includes both regular teardown and litegraph restoration
|
|
*/
|
|
import globalTeardown from './globalTeardown'
|
|
import { restoreLitegraph } from './i18nSetup'
|
|
|
|
export default async function globalTeardownWithI18n() {
|
|
// First run regular teardown
|
|
await globalTeardown()
|
|
|
|
// Then restore litegraph files
|
|
await restoreLitegraph()
|
|
} |