first commit

This commit is contained in:
2024-08-03 11:53:56 +03:00
commit fdd158a453
276 changed files with 355065 additions and 0 deletions

14
tests-ui/globalSetup.js Normal file
View File

@@ -0,0 +1,14 @@
module.exports = async function () {
global.ResizeObserver = class ResizeObserver {
observe() {}
unobserve() {}
disconnect() {}
};
const { nop } = require("./utils/nopProxy");
global.enableWebGLCanvas = nop;
HTMLCanvasElement.prototype.getContext = nop;
localStorage["Comfy.Settings.Comfy.Logging.Enabled"] = "false";
};