move to describe

This commit is contained in:
pythongosssss 2023-10-13 17:28:11 +01:00
parent a2fafda0e0
commit 8040581506

View File

@ -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();
}); });
});