Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

debug: print check errors in the failing local-domain test

v_wyxgwang3f221ac2a33b
diff --git a/packages/plugin-devkit/src/check.test.ts b/packages/plugin-devkit/src/check.test.ts
index 14184ecbf..9b6da0251 100644
--- a/packages/plugin-devkit/src/check.test.ts
+++ b/packages/plugin-devkit/src/check.test.ts
@@ -76,6 +76,7 @@ describe("check", () => {
m.net = { domains: ["api.example.com", "localhost", "169.254.169.254"] };
});
const result = await check(dir);
+ console.log("DEBUG-ERRORS", JSON.stringify(result.errors), JSON.stringify(result.warnings));
expect(result.ok).toBe(true);
const warning = result.warnings.find((w) => w.code === "net.local-domain");
expect(warning?.message).toContain("localhost");