@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 Material UI or JSON Config for the admin UI", () => {
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 json config!").to.be.true;
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/testing",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "Shared utilities for adapter and module testing in ioBroker",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",