mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 21:30:42 +00:00
test: tighten bundled plugin schema assertion
This commit is contained in:
@@ -454,7 +454,8 @@ describe("bundled plugin metadata", () => {
|
||||
|
||||
it("keeps config schemas on all bundled plugin manifests", () => {
|
||||
for (const entry of listRepoBundledPluginMetadata()) {
|
||||
expect(entry.manifest.configSchema).toEqual(expect.any(Object));
|
||||
expect(entry.manifest.configSchema).not.toBeNull();
|
||||
expect(typeof entry.manifest.configSchema).toBe("object");
|
||||
expect(Array.isArray(entry.manifest.configSchema)).toBe(false);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user