mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 07:14:11 +00:00
Remove future test (#249)
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import {
|
||||
LGraphNode,
|
||||
} from "../dist/litegraph.es.js";
|
||||
} from "../src/litegraph"
|
||||
|
||||
describe("LGraphNode", () => {
|
||||
it("should serialize position correctly", () => {
|
||||
const node = new LGraphNode("TestNode");
|
||||
node.pos = [10, 10];
|
||||
expect(node.pos).toEqual(new Float32Array([10, 10]));
|
||||
expect(node.serialize().pos).toEqual(new Float32Array([10, 10]));
|
||||
});
|
||||
});
|
||||
const node = new LGraphNode("TestNode")
|
||||
node.pos = [10, 10]
|
||||
expect(node.pos).toEqual(new Float32Array([10, 10]))
|
||||
expect(node.serialize().pos).toEqual(new Float32Array([10, 10]))
|
||||
})
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user