mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-10-09 15:58:34 +00:00
a455577b21
Refresh focus sidebar rows when Dynamic tab title mode changes. Follow-up to Codex review on #1658.
10 lines
374 B
TypeScript
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/);
|
|
});
|