Files
gemini-cli/packages/cli/src/ui/components/UpdateNotification.test.tsx

19 lines
488 B
TypeScript

/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { render } from '../../test-utils/render.js';
import { UpdateNotification } from './UpdateNotification.js';
import { describe, it, expect } from 'vitest';
describe('UpdateNotification', () => {
it('renders message', () => {
const { lastFrame } = render(
<UpdateNotification message="Update available!" />,
);
expect(lastFrame()).toContain('Update available!');
});
});