mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-31 13:29:55 +00:00
[Test] Fix circular test imports in CI (#1088)
This commit is contained in:
@@ -89,6 +89,7 @@ export interface LGraphNodeConstructor<T extends LGraphNode = LGraphNode> {
|
||||
// End backwards compat
|
||||
|
||||
export { InputIndicators } from "./canvas/InputIndicators"
|
||||
export { LinkConnector } from "./canvas/LinkConnector"
|
||||
export { isOverNodeInput, isOverNodeOutput } from "./canvas/measureSlots"
|
||||
export { CanvasPointer } from "./CanvasPointer"
|
||||
export * as Constants from "./constants"
|
||||
|
||||
@@ -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