diff options
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') { |
