@iobroker/testing
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -209,7 +209,8 @@ "use strict"; | ||
if (!hasNoConfigPage) { | ||
it("The adapter uses Material UI or JSON Config for the admin UI", () => { | ||
it("The adapter uses a supported admin UI", () => { | ||
const hasSupportedUI = !!iopackContent.common.materialize || | ||
iopackContent.common.adminUI?.config === "html" || | ||
iopackContent.common.adminUI?.config === "json" || | ||
iopackContent.common.adminUI?.config === "materialize"; | ||
(0, chai_1.expect)(hasSupportedUI, "Unsupported Admin UI, must be materialize or json config!").to.be.true; | ||
(0, chai_1.expect)(hasSupportedUI, "Unsupported Admin UI, must be html, materialize or JSON config!").to.be.true; | ||
}); | ||
@@ -216,0 +217,0 @@ } |
{ | ||
"name": "@iobroker/testing", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Shared utilities for adapter and module testing in ioBroker", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
146378
3248