diff --git a/src/runner/__tests__/index.ts b/src/runner/__tests__/index.ts index 729d6fab3..ea418c956 100644 --- a/src/runner/__tests__/index.ts +++ b/src/runner/__tests__/index.ts @@ -138,8 +138,7 @@ describe('run', (): void => { }) ) - // 'commit-msg' takes one parameter from git - const status = await index(['', '', 'commit-msg', 'git fake param'], { + const status = await index(['', '', 'commit-msg', 'git', 'fake', 'param'], { cwd: dir, }) expectSpawnSyncToHaveBeenCalledWith(dir, 'echo success', {