mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 18:22:40 +00:00
Fix some pathings
This commit is contained in:
@@ -14,8 +14,8 @@ describe("LGraph", () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test("is exactly the same type", async ({ expect }) => {
|
test("is exactly the same type", async ({ expect }) => {
|
||||||
const directImport = await import("@/LGraph")
|
const directImport = await import("@/lib/litegraph/src/LGraph")
|
||||||
const entryPointImport = await import("@/litegraph")
|
const entryPointImport = await import("@/lib/litegraph/src/litegraph")
|
||||||
|
|
||||||
expect(LiteGraph.LGraph).toBe(directImport.LGraph)
|
expect(LiteGraph.LGraph).toBe(directImport.LGraph)
|
||||||
expect(LiteGraph.LGraph).toBe(entryPointImport.LGraph)
|
expect(LiteGraph.LGraph).toBe(entryPointImport.LGraph)
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ describe("Import order dependency", () => {
|
|||||||
|
|
||||||
test("Imports without error when entry point is imported first", async ({ expect }) => {
|
test("Imports without error when entry point is imported first", async ({ expect }) => {
|
||||||
async function importNormally() {
|
async function importNormally() {
|
||||||
const entryPointImport = await import("@/litegraph")
|
const entryPointImport = await import("@/lib/litegraph/src/litegraph")
|
||||||
const directImport = await import("@/LGraph")
|
const directImport = await import("@/lib/litegraph/src/LGraph")
|
||||||
|
|
||||||
// Sanity check that imports were cleared.
|
// Sanity check that imports were cleared.
|
||||||
expect(Object.is(LiteGraph, entryPointImport.LiteGraph)).toBe(false)
|
expect(Object.is(LiteGraph, entryPointImport.LiteGraph)).toBe(false)
|
||||||
|
|||||||
Reference in New Issue
Block a user