mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
Fix some pathings
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user