Update src/ui/components/ToolPermissionRequest.test.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Nate Sesti 2025-07-26 19:32:38 -07:00 • committed by GitHub
parent 62775b9507
commit c3d05ff118
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,7 @@ describe("formatArgs function", () => {
it("should use first key when multiple arguments", () => {
const args = { path: "/test.txt", mode: "read", format: "json" };
const result = formatArgs(args);
expect(result).toBe("/test.txt"); // Should use first key alphabetically
expect(result).toBe("/test.txt"); // Should use first key in insertion order
});
it("should handle non-string types", () => {