MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / createTask

Function createTask

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

Source from the content-addressed store, hash-verified

7} from "../../../src/ui/taskCardState";
8
9function createTask(overrides: Partial<TaskInfo> = {}): TaskInfo {
10 return {
11 title: "Task",
12 status: "open",
13 priority: "normal",
14 path: "Tasks/task.md",
15 archived: false,
16 ...overrides,
17 };
18}
19
20function createPlugin(overrides: Partial<TaskNotesPlugin> = {}): TaskNotesPlugin {
21 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected