style: fix formatting
This commit is contained in:
parent
448dadecf3
commit
a984252f7a
@ -80,7 +80,7 @@ const COPILOT_MODEL_ALIASES: Record<string, string> = {
|
|||||||
"gpt-4.1-mini": "gpt-4.1-mini",
|
"gpt-4.1-mini": "gpt-4.1-mini",
|
||||||
"gpt-4.1-nano": "gpt-4.1-nano",
|
"gpt-4.1-nano": "gpt-4.1-nano",
|
||||||
"gpt-4o": "gpt-4o",
|
"gpt-4o": "gpt-4o",
|
||||||
"o1": "o1",
|
o1: "o1",
|
||||||
"o1-mini": "o1-mini",
|
"o1-mini": "o1-mini",
|
||||||
"o3-mini": "o3-mini",
|
"o3-mini": "o3-mini",
|
||||||
"claude-sonnet-4.5": "claude-sonnet-4.5",
|
"claude-sonnet-4.5": "claude-sonnet-4.5",
|
||||||
|
|||||||
@ -31,10 +31,7 @@ describe("copilot-credentials", () => {
|
|||||||
it("uses custom cliPath when provided", () => {
|
it("uses custom cliPath when provided", () => {
|
||||||
const execSync = vi.fn().mockReturnValue("0.0.1");
|
const execSync = vi.fn().mockReturnValue("0.0.1");
|
||||||
isCopilotCliInstalled({ cliPath: "/usr/local/bin/copilot", execSync });
|
isCopilotCliInstalled({ cliPath: "/usr/local/bin/copilot", execSync });
|
||||||
expect(execSync).toHaveBeenCalledWith(
|
expect(execSync).toHaveBeenCalledWith("/usr/local/bin/copilot --version", expect.any(Object));
|
||||||
"/usr/local/bin/copilot --version",
|
|
||||||
expect.any(Object),
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user