(subject: string)
| 4 | import { parseCommit, type RawCommit } from "./draft-changelog.ts"; |
| 5 | |
| 6 | function commit(subject: string) { |
| 7 | const raw: RawCommit = { |
| 8 | sha: "1234567890abcdef1234567890abcdef12345678", |
| 9 | shortSha: "1234567", |
| 10 | author: "Test Author", |
| 11 | subject, |
| 12 | }; |
| 13 | |
| 14 | return { |
| 15 | ...parseCommit(raw), |
| 16 | date: "2026-06-03", |
| 17 | }; |
| 18 | } |
| 19 | |
| 20 | describe("weekly changelog arguments", () => { |
| 21 | it("parses date range and write flags", () => { |
no test coverage detected