MCPcopy
hub / github.com/callumalpass/tasknotes / createTask

Function createTask

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

Source from the content-addressed store, hash-verified

14}));
15
16function createTask(overrides: Partial<TaskInfo> = {}): TaskInfo {
17 return {
18 title: "Task",
19 status: "open",
20 priority: "normal",
21 path: "Tasks/task.md",
22 archived: false,
23 ...overrides,
24 };
25}
26
27function createPlugin(task: TaskInfo | null = createTask()): TaskNotesPlugin {
28 return {

Callers 2

createPluginFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected