mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-23 08:14:06 +00:00
[Test] Fix circular test imports in CI (#1088)
This commit is contained in:
@@ -2,8 +2,8 @@ import type { CanvasPointerEvent } from "@/types/events"
|
||||
|
||||
import { afterEach, describe, expect, vi } from "vitest"
|
||||
|
||||
import { LinkConnector } from "@/canvas/LinkConnector"
|
||||
import { LGraph, LGraphNode, LLink, Reroute, type RerouteId } from "@/litegraph"
|
||||
import { LinkConnector } from "@/litegraph"
|
||||
|
||||
import { test as baseTest } from "./testExtensions"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { INodeInputSlot, LGraphNode } from "@/litegraph"
|
||||
import { beforeEach, describe, expect, test, vi } from "vitest"
|
||||
|
||||
// We don't strictly need RenderLink interface import for the mock
|
||||
import { LinkConnector } from "@/canvas/LinkConnector"
|
||||
import { LinkConnector } from "@/litegraph"
|
||||
|
||||
// Mocks
|
||||
const mockSetConnectingLinks = vi.fn()
|
||||
|
||||
Reference in New Issue
Block a user