mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
- Extract COLLECT_COVERAGE to shared coverageConstants.ts to avoid drift between ComfyPage.ts and playwright.config.ts. - Add coupling comment for COVERAGE_ATTACHMENT magic string. - Use Object.assign instead of as Record<string, unknown> for source. - Add comment explaining resetOnNavigation: false. Addresses review feedback: https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3047998513 https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3047998518 https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3054600476 https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3047998519 https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3047998521
2 lines
72 B
TypeScript
2 lines
72 B
TypeScript
export const COLLECT_COVERAGE = process.env.COLLECT_COVERAGE === 'true'
|