Files
ComfyUI_frontend/browser_tests/fixtures/constants.ts
bymyself c44c3088c0 fix: Break circular dependency with shared constants file
Circular dependency was caused by:
- comfyPageFixture.ts importing testComfySnapToGridGridSize from ComfyPage.ts
- ComfyPage.ts re-exporting comfyPageFixture

Solution:
- Extract testComfySnapToGridGridSize to constants.ts
- Both files import from constants.ts
- Only type-import ComfyPage in comfyPageFixture.ts

Now clean dependency graph with no cycles.
2025-11-06 21:28:41 -07:00

5 lines
92 B
TypeScript

/**
* Shared constants for browser tests
*/
export const testComfySnapToGridGridSize = 50