diff --git a/packages/cli/src/ui/components/AppHeader.test.tsx b/packages/cli/src/ui/components/AppHeader.test.tsx
index ca7488846f..4833432823 100644
--- a/packages/cli/src/ui/components/AppHeader.test.tsx
+++ b/packages/cli/src/ui/components/AppHeader.test.tsx
@@ -26,7 +26,7 @@ vi.mock('../utils/terminalSetup.js', () => ({
describe('', () => {
beforeEach(() => {
vi.clearAllMocks();
- persistentStateMock.get.mockReturnValue({});
+ persistentStateMock.get.mockReturnValue(undefined);
});
it('should render the banner with default text', () => {
diff --git a/packages/cli/src/ui/components/__snapshots__/AppHeader.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/AppHeader.test.tsx.snap
index dcd5a4ca2a..debf83b38b 100644
--- a/packages/cli/src/ui/components/__snapshots__/AppHeader.test.tsx.snap
+++ b/packages/cli/src/ui/components/__snapshots__/AppHeader.test.tsx.snap
@@ -10,7 +10,12 @@ exports[` > should not render the banner when no flags are set 1`]
███░ ░░███ ░░███
███░ ░░█████████
░░░ ░░░░░░░░░
-"
+
+Tips for getting started:
+1. Ask questions, edit files, or run commands.
+2. Be specific for the best results.
+3. Create GEMINI.md files to customize your interactions with Gemini.
+4. /help for more information."
`;
exports[` > should not render the banner when previewFeatures is enabled 1`] = `
@@ -23,7 +28,12 @@ exports[` > should not render the banner when previewFeatures is en
███░ ░░███ ░░███
███░ ░░█████████
░░░ ░░░░░░░░░
-"
+
+Tips for getting started:
+1. Ask questions, edit files, or run commands.
+2. Be specific for the best results.
+3. Create GEMINI.md files to customize your interactions with Gemini.
+4. /help for more information."
`;
exports[` > should not render the default banner if shown count is 5 or more 1`] = `
@@ -52,7 +62,12 @@ exports[` > should render the banner when previewFeatures is disabl
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ This is the default banner │
-╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯"
+╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
+Tips for getting started:
+1. Ask questions, edit files, or run commands.
+2. Be specific for the best results.
+3. Create GEMINI.md files to customize your interactions with Gemini.
+4. /help for more information."
`;
exports[` > should render the banner with default text 1`] = `
@@ -68,7 +83,12 @@ exports[` > should render the banner with default text 1`] = `
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ This is the default banner │
-╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯"
+╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
+Tips for getting started:
+1. Ask questions, edit files, or run commands.
+2. Be specific for the best results.
+3. Create GEMINI.md files to customize your interactions with Gemini.
+4. /help for more information."
`;
exports[` > should render the banner with warning text 1`] = `
@@ -84,5 +104,10 @@ exports[` > should render the banner with warning text 1`] = `
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ There are capacity issues │
-╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯"
+╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
+Tips for getting started:
+1. Ask questions, edit files, or run commands.
+2. Be specific for the best results.
+3. Create GEMINI.md files to customize your interactions with Gemini.
+4. /help for more information."
`;