mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-09-24 15:49:09 +00:00
dea182c38a
Keep Vault notes state while switching sections, improve accent button text contrast, and adjust host tree top spacing.
10 lines
351 B
TypeScript
10 lines
351 B
TypeScript
import test from "node:test";
|
|
import assert from "node:assert/strict";
|
|
import { readFileSync } from "node:fs";
|
|
|
|
test("host tree list keeps slight top padding", () => {
|
|
const source = readFileSync(new URL("./vault/VaultHostListSection.tsx", import.meta.url), "utf8");
|
|
|
|
assert.match(source, /viewMode === "tree"\s*\?\s*"pt-1\.5"\s*:\s*"pt-0"/);
|
|
});
|