diff --git a/src/tests/packageFiles/index.ts b/src/tests/packageFiles/index.ts index 8d75466..82440b4 100644 --- a/src/tests/packageFiles/index.ts +++ b/src/tests/packageFiles/index.ts @@ -256,15 +256,16 @@ export function validatePackageFiles(adapterDir: string): void { iopackContent.common.noConfig === "true" || iopackContent.common.adminUI?.config === "none"; 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"; expect( hasSupportedUI, - "Unsupported Admin UI, must be materialize or json config!", + "Unsupported Admin UI, must be html, materialize or JSON config!", ).to.be.true; }); }