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

Function createSettings

tests/unit/bootstrap/defaultBasesFiles.test.ts:9–17  ·  view source on GitHub ↗
(commandPath: string)

Source from the content-addressed store, hash-verified

7import type { TaskNotesSettings } from "../../../src/types/settings";
8
9function createSettings(commandPath: string): TaskNotesSettings {
10 return {
11 ...DEFAULT_SETTINGS,
12 commandFileMapping: {
13 ...DEFAULT_SETTINGS.commandFileMapping,
14 "open-tasks-view": commandPath,
15 },
16 };
17}
18
19describe("default Bases file writes", () => {
20 it("creates parent folders before writing missing generated Base files", async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected