mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
Update litegraph (Getters) (#829)
* Update litegraph (Getters) * Update
This commit is contained in:
@@ -32,7 +32,7 @@ describe('LGraph', () => {
|
||||
const result1 = graph.serialize({ sortNodes: true })
|
||||
expect(result1.nodes).not.toHaveLength(0)
|
||||
// @ts-expect-error Access private property.
|
||||
graph._nodes = swapNodes(graph._nodes)
|
||||
graph._nodes = swapNodes(graph.nodes)
|
||||
const result2 = graph.serialize({ sortNodes: true })
|
||||
|
||||
expect(result1).toEqual(result2)
|
||||
|
||||
Reference in New Issue
Block a user