test: tighten bundled plugin schema assertion

This commit is contained in:
Peter Steinberger
2026-05-09 03:09:33 +01:00
parent bfe9d5d224
commit c131865944

View File

@@ -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);
}
});