mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-20 11:00:40 -07:00
Migrate core render util to use xterm.js as part of the rendering loop. (#19044)
This commit is contained in:
@@ -9,10 +9,12 @@ import { UpdateNotification } from './UpdateNotification.js';
|
||||
import { describe, it, expect } from 'vitest';
|
||||
|
||||
describe('UpdateNotification', () => {
|
||||
it('renders message', () => {
|
||||
const { lastFrame } = render(
|
||||
it('renders message', async () => {
|
||||
const { lastFrame, waitUntilReady, unmount } = render(
|
||||
<UpdateNotification message="Update available!" />,
|
||||
);
|
||||
await waitUntilReady();
|
||||
expect(lastFrame()).toContain('Update available!');
|
||||
unmount();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user