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

Function createTask

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

Source from the content-addressed store, hash-verified

18 ["contexts", "projects", "tags"].includes(property);
19
20const createTask = (overrides: Partial<TaskInfo> = {}): TaskInfo => ({
21 title: "Task",
22 status: "todo",
23 priority: "normal",
24 path: "tasks/task.md",
25 archived: false,
26 ...overrides,
27});
28
29describe("taskListDropPlanning", () => {
30 it("marks formula grouping as read-only while preserving the stripped property for sorting", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected