Fix some pathings

This commit is contained in:
Benjamin Lu
2025-08-04 14:52:42 -04:00
parent 6048dc0c60
commit 797616c455
2 changed files with 4 additions and 4 deletions

View File

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

View File

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