diff --git a/src/lib/litegraph/test/LGraph.test.ts b/src/lib/litegraph/test/LGraph.test.ts index d19c663e3..addce6c02 100644 --- a/src/lib/litegraph/test/LGraph.test.ts +++ b/src/lib/litegraph/test/LGraph.test.ts @@ -14,8 +14,8 @@ describe("LGraph", () => { }) test("is exactly the same type", async ({ expect }) => { - const directImport = await import("@/LGraph") - const entryPointImport = await import("@/litegraph") + const directImport = await import("@/lib/litegraph/src/LGraph") + const entryPointImport = await import("@/lib/litegraph/src/litegraph") expect(LiteGraph.LGraph).toBe(directImport.LGraph) expect(LiteGraph.LGraph).toBe(entryPointImport.LGraph) diff --git a/src/lib/litegraph/test/litegraph.test.ts b/src/lib/litegraph/test/litegraph.test.ts index c89822123..d93fe646c 100644 --- a/src/lib/litegraph/test/litegraph.test.ts +++ b/src/lib/litegraph/test/litegraph.test.ts @@ -29,8 +29,8 @@ describe("Import order dependency", () => { test("Imports without error when entry point is imported first", async ({ expect }) => { async function importNormally() { - const entryPointImport = await import("@/litegraph") - const directImport = await import("@/LGraph") + const entryPointImport = await import("@/lib/litegraph/src/litegraph") + const directImport = await import("@/lib/litegraph/src/LGraph") // Sanity check that imports were cleared. expect(Object.is(LiteGraph, entryPointImport.LiteGraph)).toBe(false)