Format all code with prettier (#197)

* Add formatter support

* Format all code

* Fix moved @ts-expect-error
This commit is contained in:
Chenlei Hu
2024-10-07 14:06:44 -04:00
committed by GitHub
parent 8418c884c0
commit 28382b7e45
25 changed files with 16345 additions and 14414 deletions

View File

@@ -1,6 +1,4 @@
import {
LGraphNode,
} from "../dist/litegraph.es.js";
import { LGraphNode } from "../dist/litegraph.es.js";
describe("LGraphNode", () => {
it("should serialize position correctly", () => {
@@ -11,4 +9,4 @@ describe("LGraphNode", () => {
expect(node.pos).toEqual(new Float32Array([10, 10]));
expect(node.serialize().pos).toEqual(new Float32Array([10, 10]));
});
});
});