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

Function pluginWithTasks

tests/unit/modals/taskModalTaskSelector.test.ts:17–23  ·  view source on GitHub ↗
(tasks: TaskInfo[])

Source from the content-addressed store, hash-verified

15}
16
17function pluginWithTasks(tasks: TaskInfo[]): any {
18 return {
19 cacheManager: {
20 getAllTasks: jest.fn(async () => tasks),
21 },
22 };
23}
24
25describe("openTaskModalTaskSelector", () => {
26 it("opens the task selector with filtered candidates and ignores cancellation", async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected