mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-24 08:44:06 +00:00
This reverts commit 28382b7e45.
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import { LGraph, LiteGraph } from "../dist/litegraph.es.js";
|
||||
import {
|
||||
LGraph,
|
||||
LiteGraph,
|
||||
} from "../dist/litegraph.es.js";
|
||||
|
||||
describe("LegacyLGraph Compatibility Layer", () => {
|
||||
test("LGraph can be instantiated", () => {
|
||||
const graph = new LGraph({ extra: "TestGraph" });
|
||||
const graph = new LGraph({extra: "TestGraph"});
|
||||
expect(graph).toBeInstanceOf(LGraph);
|
||||
expect(graph.extra).toBe("TestGraph");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user