Reorganize repo structure and standards references

This commit is contained in:
david committed 2026-06-29 05:03:42 +02:00
1 parent 3cb93a81be
commit be2054274d
5885 files changed
+2588 -195

No files matched your search

@@ -0,0 +1,15 @@
// @vitest-environment node
import { readFileSync } from "node:fs";
import path from "node:path";
import { fileURLToPath } from "node:url";
import { describe, expect, test } from "vitest";
const source = readFileSync(path.join(path.dirname(fileURLToPath(import.meta.url)), "DropdownDots.tsx"), "utf8");
describe("DropdownDots disabled links", () => {
test("disabled href items do not render navigable links", () => {
expect(source).toContain("item.href && !item.disabled");
expect(source).not.toContain('to={item.disabled ? "" : item.href}');
expect(source).toContain("aria-disabled={item.disabled || undefined}");
});
});