import { jsx as _jsx } from "react/jsx-runtime";
/**
 * @license
 * Copyright 2026 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { render } from '../../test-utils/render.js';
import { Tips } from './Tips.js';
import { describe, it, expect, vi } from 'vitest';
describe('Tips', () => {
    it.each([
        { fileCount: 0, description: 'renders all tips including GEMINI.md tip' },
        { fileCount: 5, description: 'renders fewer tips when GEMINI.md exists' },
    ])('$description', async ({ fileCount }) => {
        const config = {
            getGeminiMdFileCount: vi.fn().mockReturnValue(fileCount),
        };
        const { lastFrame, waitUntilReady, unmount } = render(_jsx(Tips, { config: config }));
        await waitUntilReady();
        expect(lastFrame()).toMatchSnapshot();
        unmount();
    });
});
//# sourceMappingURL=Tips.test.js.map