Remove future test (#249)

This commit is contained in:
filtered
2024-11-02 10:00:02 +11:00
committed by GitHub
parent d3f1b9b125
commit 94f1ca4279
2 changed files with 47 additions and 27 deletions

View File

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