mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 18:35:17 +00:00
5818ca83a2
* setup ui unit tests * Refactoring, adding connections * Few tweaks * Fix type * Add general test * Refactored and extended test * move to describe * for groups * Add test for converted widgets on missing nodes + fix crash * tidy * mores tests + refactor * throw earlier to get less confusing error * support outputs * more test * add ci action * use lts node * Fix? * Prevent connecting non matching combos * update * accidently removed npm i * Disable logging extension * added step to generate object_info * fix python * install python * install deps * fix cwd? * logging * Fix double resolve * create dir * update pkg
15 lines
336 B
JavaScript
15 lines
336 B
JavaScript
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";
|
|
};
|