mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-14 23:42:35 +08:00
move to describe
This commit is contained in:
parent
a2fafda0e0
commit
8040581506
@ -4,6 +4,8 @@
|
|||||||
const { start } = require("../utils");
|
const { start } = require("../utils");
|
||||||
const lg = require("../utils/litegraph");
|
const lg = require("../utils/litegraph");
|
||||||
|
|
||||||
|
|
||||||
|
describe("widget inputs", () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
lg.setup(global);
|
lg.setup(global);
|
||||||
});
|
});
|
||||||
@ -76,7 +78,6 @@ afterEach(() => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
test("converted widget works after reload", async () => {
|
test("converted widget works after reload", async () => {
|
||||||
const { graph, ez } = await start();
|
const { graph, ez } = await start();
|
||||||
let n = ez.CheckpointLoaderSimple();
|
let n = ez.CheckpointLoaderSimple();
|
||||||
@ -164,3 +165,4 @@ test("converted widget works on clone", async () => {
|
|||||||
expect(clone.widgets.ckpt_name.isConvertedToInput).toBeFalsy();
|
expect(clone.widgets.ckpt_name.isConvertedToInput).toBeFalsy();
|
||||||
expect(clone.inputs.ckpt_name).toBeFalsy();
|
expect(clone.inputs.ckpt_name).toBeFalsy();
|
||||||
});
|
});
|
||||||
|
});
|
||||||
Loading…
Reference in New Issue
Block a user