Files
Netcatty/components/VaultHostListSection.test.ts
T
陈大猫 dea182c38a Polish vault UI state and contrast
Keep Vault notes state while switching sections, improve accent button text contrast, and adjust host tree top spacing.
2026-06-22 22:19:20 +08:00

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"/);
});