(_messages)
| 67047 | "commit-message", |
| 67048 | "prompt-module-commitlint-config" |
| 67049 | ]; |
| 67050 | var TestAi = class { |
| 67051 | // --- |
| 67052 | constructor(mockType) { |
| 67053 | this.mockType = mockType; |
| 67054 | } |
| 67055 | async generateCommitMessage(_messages) { |
| 67056 | switch (this.mockType) { |
| 67057 | case "commit-message": |
| 67058 | return "fix(testAi.ts): test commit message"; |
| 67059 | case "prompt-module-commitlint-config": |
| 67060 | return `{ |
| 67061 | "localLanguage": "english", |
| 67062 | "commitFix": "fix(server): Change 'port' variable to uppercase 'PORT'", |
| 67063 | "commitFeat": "feat(server): Allow server to listen on a port specified through environment variable", |
| 67064 | "commitDescription": "Change 'port' variable to uppercase 'PORT'. Allow server to listen on a port specified through environment variable." |
| 67065 | }`; |
| 67066 | default: |
nothing calls this directly
no test coverage detected