From 3157fbee2c7d930609d177bf7abd374f9f68e4e2 Mon Sep 17 00:00:00 2001 From: doum1004 Date: Fri, 10 Apr 2026 23:38:03 -0400 Subject: [PATCH] feat: add Git author and committer environment variables to runWiki function --- test/commands.test.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/commands.test.ts b/test/commands.test.ts index 0605bc5..c41d363 100644 --- a/test/commands.test.ts +++ b/test/commands.test.ts @@ -16,7 +16,14 @@ async function runWiki(args: string[], input?: string): Promise<{ stdout: string stdout: "pipe", stderr: "pipe", stdin: input ? new Blob([input]) : undefined, - env: { ...process.env, LLMWIKI_CONFIG_DIR: configDir }, + env: { + ...process.env, + LLMWIKI_CONFIG_DIR: configDir, + GIT_AUTHOR_NAME: "Test", + GIT_AUTHOR_EMAIL: "test@test.com", + GIT_COMMITTER_NAME: "Test", + GIT_COMMITTER_EMAIL: "test@test.com", + }, }, ); const exitCode = await proc.exited;