mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 12:01:13 +00:00
11 lines
432 B
TypeScript
11 lines
432 B
TypeScript
import assert from "node:assert/strict";
|
|
import { readFileSync } from "node:fs";
|
|
import test from "node:test";
|
|
|
|
const source = readFileSync(new URL("./SettingsTerminalTab.tsx", import.meta.url), "utf8");
|
|
|
|
test("terminal settings keep the global theme picker visible while following app theme", () => {
|
|
assert.doesNotMatch(source, /\{followAppTerminalTheme \? \(/);
|
|
assert.match(source, /terminal\.themeModal\.globalTheme/);
|
|
});
|