( mockType: 'commit-message' | 'prompt-module-commitlint-config' )
| 20 | ); |
| 21 | |
| 22 | const getPromptModuleEnv = ( |
| 23 | mockType: 'commit-message' | 'prompt-module-commitlint-config' |
| 24 | ): NodeJS.ProcessEnv => ({ |
| 25 | OCO_TEST_MOCK_TYPE: mockType, |
| 26 | OCO_PROMPT_MODULE: '@commitlint', |
| 27 | OCO_AI_PROVIDER: 'test', |
| 28 | OCO_GITPUSH: 'true' |
| 29 | }); |
| 30 | |
| 31 | async function setupCommitlint(dir: string, version: 9 | 18 | 19) { |
| 32 | cpSync( |
no outgoing calls
no test coverage detected
searching dependent graphs…