Migrate all tests to TypeScript (#19)

* Merge 2 npm repos

* Install ts-jest

* Update jestconfig

* Fix jest types

* jest fix

* Fix babel config ref issue

* Fix import

* Fix import meta issue

* fix generate

* Skip multi-user tests
This commit is contained in:
Chenlei Hu
2024-06-17 11:25:56 -04:00
committed by GitHub
parent 48d5870d9c
commit f85cb3d5e9
50 changed files with 7753 additions and 5789 deletions

View File

@@ -1,6 +1,6 @@
import { ComfyWidgets, addValueControlWidgets } from "../../scripts/widgets";
import { app } from "../../scripts/app.js";
import { applyTextReplacements } from "../../scripts/utils.js";
import { app } from "../../scripts/app";
import { applyTextReplacements } from "../../scripts/utils";
const CONVERTED_TYPE = "converted-widget";
const VALID_TYPES = ["STRING", "combo", "number", "BOOLEAN"];