MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / createTask

Function createTask

tests/unit/bases/calendarTaskEvents.test.ts:11–20  ·  view source on GitHub ↗
(overrides: Partial<TaskInfo> = {})

Source from the content-addressed store, hash-verified

9import type { TaskInfo } from "../../../src/types";
10
11function createTask(overrides: Partial<TaskInfo> = {}): TaskInfo {
12 return {
13 title: "Draft plan",
14 path: "Tasks/draft-plan.md",
15 status: "open",
16 priority: "high",
17 archived: false,
18 ...overrides,
19 };
20}
21
22function createContext(
23 overrides: Partial<CalendarTaskEventContext> = {}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected