ComfyUI/tests-ui/afterSetup.js

10 lines
266 B
JavaScript
Raw Normal View History

2023-12-19 20:38:07 +00:00
const { start } = require("./utils");
const lg = require("./utils/litegraph");
// Load things once per test file before to ensure its all warmed up for the tests
beforeAll(async () => {
lg.setup(global);
await start({ resetEnv: true });
lg.teardown(global);
});