mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-06 21:50:05 +00:00
Update tests for schema v1 (#289)
This commit is contained in:
@@ -24,6 +24,11 @@ describe.concurrent("LGraph", () => {
|
||||
const basicLGraph = new LGraph(basicSerialisableGraph)
|
||||
expect(basicLGraph).toMatchSnapshot("basicLGraph")
|
||||
})
|
||||
|
||||
lgTest("supports schema v0.4 graphs", ({ expect, oldSchemaGraph }) => {
|
||||
const fromOldSchema = new LGraph(oldSchemaGraph)
|
||||
expect(fromOldSchema).toMatchSnapshot("oldSchemaGraph")
|
||||
})
|
||||
})
|
||||
|
||||
describe.concurrent("Legacy LGraph Compatibility Layer", () => {
|
||||
|
||||
Reference in New Issue
Block a user