Skip to content

Commit 2bd5ab4

Browse files
committed
test(config): update model and sort allowed types alphabetically
1 parent f04d6b4 commit 2bd5ab4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/configurationEdgeCases.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe("Configuration Edge Cases", () => {
6060

6161
// Reset config for each test
6262
mockConfig = {
63-
model: "claude-3-5-sonnet-latest",
63+
model: "claude-3-5-haiku-latest",
6464
maxTokens: 1024,
6565
temperature: 0.3,
6666
allowedTypes: ["feat", "fix", "refactor", "chore", "docs", "style", "test", "perf", "ci"],
@@ -129,7 +129,7 @@ describe("Configuration Edge Cases", () => {
129129

130130
expect(mockAnthropicCreate).toHaveBeenCalledWith(
131131
expect.objectContaining({
132-
model: "claude-3-5-sonnet-latest",
132+
model: "claude-3-5-haiku-latest",
133133
}),
134134
)
135135
})
@@ -239,7 +239,7 @@ describe("Configuration Edge Cases", () => {
239239
messages: expect.arrayContaining([
240240
expect.objectContaining({
241241
content: expect.stringContaining(
242-
"'feat' | 'fix' | 'refactor' | 'chore' | 'docs' | 'style' | 'test' | 'perf' | 'ci'",
242+
"'chore' | 'ci' | 'docs' | 'feat' | 'fix' | 'perf' | 'refactor' | 'style' | 'test'",
243243
),
244244
}),
245245
]),

0 commit comments

Comments
 (0)