Files
Netcatty/components/terminalLayer/TerminalFocusSidebar.test.ts
T
陈大猫 a455577b21 fix focus sidebar dynamic title refresh
Refresh focus sidebar rows when Dynamic tab title mode changes. Follow-up to Codex review on #1658.
2026-06-25 15:25:23 +08:00

10 lines
374 B
TypeScript

import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import test from 'node:test';
const source = readFileSync(new URL('./TerminalFocusSidebar.tsx', import.meta.url), 'utf8');
test('focus sidebar row memo refreshes when dynamic title mode changes', () => {
assert.match(source, /prev\.dynamicTabTitleMode === next\.dynamicTabTitleMode/);
});