mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
feat: add category and icon fields to plugin manifest schema
This commit is contained in:
1 parent
5a76d30637
commit
7f1beddccc
8 files changed
+72
No files matched your search
@@ -43,4 +43,10 @@ describe("validate-plugin-manifest.cjs", () => {
|
||||
expect(status).not.toBe(0);
|
||||
expect(output).toContain('Unknown permission: "credentials.read"');
|
||||
});
|
||||
|
||||
it("rejects a manifest with an unknown category", () => {
|
||||
const { status, output } = runValidator("invalid-unknown-category.json");
|
||||
expect(status).not.toBe(0);
|
||||
expect(output).toMatch(/Field "category" must be one of/);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user