mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-18 18:11:02 -07:00
chore: update tests
This commit is contained in:
committed by
Keith Guerin
parent
8d112f55b3
commit
0292a20d41
@@ -11,9 +11,10 @@ import { createMockSettings } from '../../test-utils/settings.js';
|
||||
import path from 'node:path';
|
||||
|
||||
// Normalize paths to POSIX slashes for stable cross-platform snapshots.
|
||||
// We replace the Windows drive letter with spaces to preserve the rendered string length.
|
||||
const normalizeFrame = (frame: string | undefined) => {
|
||||
if (!frame) return frame;
|
||||
return frame.replace(/\\/g, '/').replace(/[A-Za-z]:\/(Users)/g, '/$1');
|
||||
return frame.replace(/\\/g, '/').replace(/[A-Za-z]:\//g, ' /');
|
||||
};
|
||||
|
||||
const mockSessionStats = {
|
||||
|
||||
Reference in New Issue
Block a user