Skip to content

Commit 14825ba

Browse files
"type: Update conventional commit spec tests"
1 parent f410ba0 commit 14825ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/specs/groq/conventional-commits.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect, testSuite } from 'manten';
2-
import { generateCommitMessage } from '../../../src/utils/groq.js';
2+
import { generateCommitMessageFromSummary } from '../../../src/utils/groq.js';
33
import type { ValidConfig } from '../../../src/utils/config.js';
44
import { getDiff } from '../../utils.js';
55

@@ -138,9 +138,9 @@ export default testSuite(({ describe }) => {
138138
'max-length': 50,
139139
...configOverrides,
140140
} as ValidConfig;
141-
const commitMessages = await generateCommitMessage(
141+
const commitMessages = await generateCommitMessageFromSummary(
142142
GROQ_API_KEY!,
143-
'openai/gpt-oss-120b',
143+
'llama-3.1-8b-instant',
144144
config.locale,
145145
gitDiff,
146146
config.generate,

0 commit comments

Comments
 (0)