A desktop coding agent with free access to frontier models.
TypeScript
test: project config notice
Samrat Talukdar0d7b7ffc1e78
diff --git a/apps/app/tests/mcp-supported-panel.test.tsx b/apps/app/tests/mcp-supported-panel.test.tsxindex 2546685e..1ac64a77 100644--- a/apps/app/tests/mcp-supported-panel.test.tsx+++ b/apps/app/tests/mcp-supported-panel.test.tsx@@ -113,8 +113,9 @@ describe("Settings > MCP: supported servers", () => {test("what the project's own config could not load is said once, in the panel and as a notice", () => {const line = "Not loaded from this project's config: plugins evil.ts.";- expect(render({ policy: policy({ ignoredNotice: line }) })).toContain(line);- expect(render({ policy: policy({ enabled: false, ignoredNotice: line }) })).toContain(line);+ const shown = line.replace(/'/g, "'");+ expect(render({ policy: policy({ ignoredNotice: line }) })).toContain(shown);+ expect(render({ policy: policy({ enabled: false, ignoredNotice: line }) })).toContain(shown);expect(render()).not.toContain("mcp-project-code-ignored");expect(projectCodeNotice("ws_1", line)).toEqual({ id: "project-code-ignored:ws_1", text: line });expect(projectCodeNotice("ws_1", line)).toBeNull();