@iobroker/testing 4.1.2 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -206,11 +206,12 @@ function validatePackageFiles(adapterDir) {
|
|
|
206
206
|
iopackContent.common.noConfig === "true" ||
|
|
207
207
|
iopackContent.common.adminUI?.config === "none";
|
|
208
208
|
if (!hasNoConfigPage) {
|
|
209
|
-
it("The adapter uses
|
|
209
|
+
it("The adapter uses a supported admin UI", () => {
|
|
210
210
|
const hasSupportedUI = !!iopackContent.common.materialize ||
|
|
211
|
+
iopackContent.common.adminUI?.config === "html" ||
|
|
211
212
|
iopackContent.common.adminUI?.config === "json" ||
|
|
212
213
|
iopackContent.common.adminUI?.config === "materialize";
|
|
213
|
-
(0, chai_1.expect)(hasSupportedUI, "Unsupported Admin UI, must be materialize or
|
|
214
|
+
(0, chai_1.expect)(hasSupportedUI, "Unsupported Admin UI, must be html, materialize or JSON config!").to.be.true;
|
|
214
215
|
});
|
|
215
216
|
}
|
|
216
217
|
});
|