(prettier formatting)

This commit is contained in:
dmx
2024-11-03 09:20:57 +04:00
parent cb6e80a645
commit 79c53e0095
26 changed files with 13503 additions and 14006 deletions

View File

@@ -1,13 +1,10 @@
import {
LGraphNode,
} from "../src/litegraph"
import { LGraphNode } from '../src/litegraph'
describe("LGraphNode", () => {
it("should serialize position correctly", () => {
const node = new LGraphNode("TestNode")
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]))
})
})
})