fix(core): update tests missed by preflight for benchmark changes

- Add isInteractive mock to loggers.test.ts cfg2 for GeminiClient
- Update config.test.ts shell timeout test for non-interactive default
  (600s) and add interactive case (300s)
- Update prompts.test.ts snapshots for new error recovery section
This commit is contained in:
Bryan Morgan
2026-02-22 10:21:50 -05:00
parent dd683875d8
commit 2507940524
3 changed files with 23 additions and 3 deletions
+6 -1
View File
@@ -958,8 +958,13 @@ describe('Server Config (config.ts)', () => {
});
describe('Shell Tool Inactivity Timeout', () => {
it('should default to 300000ms (300 seconds) when not provided', () => {
it('should default to 600000ms (600 seconds) for non-interactive when not provided', () => {
const config = new Config(baseParams);
expect(config.getShellToolInactivityTimeout()).toBe(600000);
});
it('should default to 300000ms (300 seconds) for interactive when not provided', () => {
const config = new Config({ ...baseParams, interactive: true });
expect(config.getShellToolInactivityTimeout()).toBe(300000);
});