summaryrefslogtreecommitdiffhomepage
path: root/packages/cli/src/catalog.test.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-26 22:03:19 +0900
committerAdam Malczewski <[email protected]>2026-06-26 22:23:39 +0900
commit727c98c9dae516a2070eb950410314380a20c974 (patch)
tree52aa1022c54f11770be7e4e2a324f0a8b8b8deec /packages/cli/src/catalog.test.ts
parente59dc11f63b1df51142259bb2c406af8c9c8c2bb (diff)
downloaddispatch-727c98c9dae516a2070eb950410314380a20c974.tar.gz
dispatch-727c98c9dae516a2070eb950410314380a20c974.zip
style: switch from tabs to 2-space indentation
Diffstat (limited to 'packages/cli/src/catalog.test.ts')
-rw-r--r--packages/cli/src/catalog.test.ts22
1 files changed, 11 insertions, 11 deletions
diff --git a/packages/cli/src/catalog.test.ts b/packages/cli/src/catalog.test.ts
index 3b32efc..a6d27f2 100644
--- a/packages/cli/src/catalog.test.ts
+++ b/packages/cli/src/catalog.test.ts
@@ -2,17 +2,17 @@ import { describe, expect, it } from "vitest";
import { formatCatalog } from "./catalog.js";
describe("formatCatalog", () => {
- it("formats a single model", () => {
- expect(formatCatalog({ models: ["openai/gpt-4"] })).toBe("openai/gpt-4");
- });
+ it("formats a single model", () => {
+ expect(formatCatalog({ models: ["openai/gpt-4"] })).toBe("openai/gpt-4");
+ });
- it("formats multiple models one per line", () => {
- expect(formatCatalog({ models: ["openai/gpt-4", "anthropic/claude-3", "local/llama"] })).toBe(
- "openai/gpt-4\nanthropic/claude-3\nlocal/llama",
- );
- });
+ it("formats multiple models one per line", () => {
+ expect(formatCatalog({ models: ["openai/gpt-4", "anthropic/claude-3", "local/llama"] })).toBe(
+ "openai/gpt-4\nanthropic/claude-3\nlocal/llama",
+ );
+ });
- it("returns empty string for empty models", () => {
- expect(formatCatalog({ models: [] })).toBe("");
- });
+ it("returns empty string for empty models", () => {
+ expect(formatCatalog({ models: [] })).toBe("");
+ });
});