Support incremental update experiment flag. (#12926)

This commit is contained in:
Jacob Richman
2025-11-13 09:45:03 -08:00
committed by GitHub
parent fb03242950
commit eb9ff72b5a
9 changed files with 48 additions and 31 deletions
+3
View File
@@ -474,6 +474,8 @@ describe('startInteractiveUI', () => {
vi.mock('./ui/utils/kittyProtocolDetector.js', () => ({
detectAndEnableKittyProtocol: vi.fn(() => Promise.resolve(true)),
isKittyProtocolSupported: vi.fn(() => true),
isKittyProtocolEnabled: vi.fn(() => true),
}));
vi.mock('./ui/utils/updateCheck.js', () => ({
@@ -531,6 +533,7 @@ describe('startInteractiveUI', () => {
expect(options).toEqual({
alternateBuffer: true,
exitOnCtrlC: false,
incrementalRendering: true,
isScreenReaderEnabled: false,
onRender: expect.any(Function),
});