[263] UX-Reste: Quellen-Auswahl voll lesbar, Hilfe → Kurzanleitung und Fehler melden, Nachweis-Export im leeren Projekt mit Hinweis

This commit is contained in:
Claude committed 2026-11-16 12:17:36 +00:00
1 parent 6a887b2dff
commit bd3ae0dd7a
19 files changed
+432 -11

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { describe, expect, it } from "vitest";
import { BUG_REPORT_URL, bugReportUrl } from "./bugReport";
describe("bugReportUrl [263]", () => {
it("zeigt auf die Issue-Seite und trägt nur Version und Build", () => {
const url = bugReportUrl("Version: {version}\n\nWas passiert?", "Build", { version: "1.0.0-beta.1", build: "261116.1" });
expect(url.startsWith(`${BUG_REPORT_URL}?body=`)).toBe(true);
const body = decodeURIComponent(url.split("?body=")[1]!);
expect(body).toBe("Version: 1.0.0-beta.1 (Build 261116.1)\n\nWas passiert?");
expect(new URL(url).hostname).toBe("git.openbureau.ch");
});
});