mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-12 23:21:27 -07:00
19 lines
488 B
TypeScript
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!');
|
|
});
|
|
});
|