Migrate core render util to use xterm.js as part of the rendering loop. (#19044)

This commit is contained in:
Jacob Richman
2026-02-18 16:46:50 -08:00
committed by GitHub
parent 04c52513e7
commit 04f65f3d55
213 changed files with 7065 additions and 3852 deletions

View File

@@ -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();
});
});