[Test] Fix circular test imports in CI (#1088)

This commit is contained in:
filtered
2025-06-28 15:30:42 -07:00
committed by GitHub
parent 7378c858bd
commit cab707a32c
3 changed files with 3 additions and 2 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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()