(url: string, key: "title" | "body")
| 3 | import { buildIssueUrl, HYPERFRAMES_REPO_URL } from "./feedbackIssue.js"; |
| 4 | |
| 5 | function decoded(url: string, key: "title" | "body"): string { |
| 6 | const value = new URL(url).searchParams.get(key); |
| 7 | return value ?? ""; |
| 8 | } |
| 9 | |
| 10 | describe("buildIssueUrl", () => { |
| 11 | const base = { |
no test coverage detected