diff options
| author | Allen Hutchison <[email protected]> | 2025-05-21 13:31:18 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-21 13:31:18 -0700 |
| commit | a0761f0c41942d5981306f99e78aca40588d28fa (patch) | |
| tree | f6d954c416cb1e60976d7a231ab843d9bed8abbf /packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | |
| parent | 00ab1905e0b252a70e2171b3f83d36adb7fec250 (diff) | |
Fix: Resolve CLI version reporting in /bug command (#455)
Diffstat (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.test.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts index a17fcd1e..beee1418 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts @@ -102,6 +102,7 @@ describe('useSlashCommandProcessor', () => { mockOpenThemeDialog, mockPerformMemoryRefresh, mockCorgiMode, + 'test-version', ), ); return result.current; @@ -248,7 +249,7 @@ describe('useSlashCommandProcessor', () => { sandboxEnvVar?: string, seatbeltProfileVar?: string, ) => { - const cliVersion = process.env.npm_package_version || 'Unknown'; + const cliVersion = 'test-version'; const osVersion = `${process.platform} ${process.version}`; let sandboxEnvStr = 'no sandbox'; if (sandboxEnvVar && sandboxEnvVar !== 'sandbox-exec') { |
