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

Function createTask

tests/unit/ui/taskCardPropertyAccess.test.ts:8–17  ·  view source on GitHub ↗
(overrides: Partial<TaskInfo> = {})

Source from the content-addressed store, hash-verified

6} from "../../../src/ui/taskCardPropertyAccess";
7
8function createTask(overrides: Partial<TaskInfo> = {}): TaskInfo {
9 return {
10 title: "Property task",
11 status: "open",
12 priority: "normal",
13 path: "TaskNotes/Property task.md",
14 archived: false,
15 ...overrides,
16 };
17}
18
19function createContext(options: {
20 mapping?: Record<string, string | null | undefined>;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected