3714b8a425
Align English and Chinese public copy with the canonical tools, permission labels, privacy boundary, candidate/release split, roadmap state, and install channels. Expand the machine-readable matrix and drift tests, add verifiable FAQ source links, and cover canonical/hreflang/Open Graph/Twitter metadata on previously incomplete routes. Signed-off-by: Hunter B <hmbown@gmail.com>
18 lines
633 B
TypeScript
18 lines
633 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { faqSourceHref } from "./faq-source";
|
|
|
|
describe("FAQ source links", () => {
|
|
it("links issue references and repository files to verifiable sources", () => {
|
|
expect(faqSourceHref("#4674")).toBe(
|
|
"https://github.com/Hmbown/CodeWhale/issues/4674",
|
|
);
|
|
expect(faqSourceHref("README.md")).toBe(
|
|
"https://github.com/Hmbown/CodeWhale/blob/main/README.md",
|
|
);
|
|
expect(faqSourceHref("docs/PROVIDERS.md")).toBe(
|
|
"https://github.com/Hmbown/CodeWhale/blob/main/docs/PROVIDERS.md",
|
|
);
|
|
expect(faqSourceHref("release notes")).toBeNull();
|
|
});
|
|
});
|