mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-10-09 15:58:34 +00:00
94464da004
* Fix follow-app terminal theme selection * Fix custom follow theme selection
11 lines
436 B
TypeScript
11 lines
436 B
TypeScript
import assert from "node:assert/strict";
|
|
import { readFileSync } from "node:fs";
|
|
import test from "node:test";
|
|
|
|
const source = readFileSync(new URL("../../App.tsx", import.meta.url), "utf8");
|
|
|
|
test("follow-app terminal theme selection reads the latest custom theme store", () => {
|
|
assert.match(source, /customThemeStore\.getThemeById\(themeId\)/);
|
|
assert.doesNotMatch(source, /const selectedTheme = themeById\.get\(themeId\)/);
|
|
});
|