mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-05 21:54:50 +00:00
fix: resolve circular dependency by removing comfyPageFixture re-export
- Remove comfyPageFixture re-export from ComfyPage.ts - Update all test imports to use comfyPageFixture from its own file - Update README.md example to show correct import path - Fixes: comfyPageFixture → LocalhostComfyPage → ComfyPage circular import
This commit is contained in:
@@ -140,7 +140,7 @@ When writing new tests, follow these patterns:
|
||||
|
||||
```typescript
|
||||
// Import the test fixture
|
||||
import { comfyPageFixture as test } from '../fixtures/ComfyPage'
|
||||
import { comfyPageFixture as test } from '../fixtures/comfyPageFixture'
|
||||
|
||||
test.describe('Feature Name', () => {
|
||||
// Set up test environment if needed
|
||||
|
||||
Reference in New Issue
Block a user