Format code with prettier

This commit is contained in:
km-anthropic
2025-08-13 09:54:57 -07:00
parent e3b5697276
commit d24561da51
4 changed files with 31 additions and 24 deletions

View File

@@ -47,7 +47,8 @@ describe("parseAllowedTools", () => {
});
test("handles multiple flags with allowedTools in middle", () => {
const args = '--flag1 value1 --allowedTools "mcp__github__*" --flag2 value2';
const args =
'--flag1 value1 --allowedTools "mcp__github__*" --flag2 value2';
expect(parseAllowedTools(args)).toEqual(["mcp__github__*"]);
});
@@ -60,10 +61,11 @@ describe("parseAllowedTools", () => {
});
test("handles tools with special characters", () => {
const args = '--allowedTools "mcp__github__create_issue,mcp__github_comment__update"';
const args =
'--allowedTools "mcp__github__create_issue,mcp__github_comment__update"';
expect(parseAllowedTools(args)).toEqual([
"mcp__github__create_issue",
"mcp__github_comment__update",
]);
});
});
});