MCPcopy
hub / github.com/di-sukharev/opencommit / getPromptModuleEnv

Function getPromptModuleEnv

test/e2e/prompt-module/commitlint.test.ts:22–29  ·  view source on GitHub ↗
(
  mockType: 'commit-message' | 'prompt-module-commitlint-config'
)

Source from the content-addressed store, hash-verified

20 );
21
22const 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
31async function setupCommitlint(dir: string, version: 9 | 18 | 19) {
32 cpSync(

Callers 1

commitlint.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…