(overrides: Partial<TaskInfo> = {})
| 3 | import { buildTaskInfoFromMappedTask } from "../../../src/utils/taskInfoAssembly"; |
| 4 | |
| 5 | function makeTask(overrides: Partial<TaskInfo> = {}): TaskInfo { |
| 6 | return { |
| 7 | title: "Mapped task", |
| 8 | status: "open", |
| 9 | priority: "normal", |
| 10 | path: "Mapped/original.md", |
| 11 | archived: false, |
| 12 | tags: ["task"], |
| 13 | contexts: ["work"], |
| 14 | projects: ["Project"], |
| 15 | ...overrides, |
| 16 | }; |
| 17 | } |
| 18 | |
| 19 | describe("buildTaskInfoFromMappedTask", () => { |
| 20 | it("adds path identity and computed blocking state", () => { |
no outgoing calls
no test coverage detected