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

Function createMockApp

tests/unit/modals/taskEditFormState.test.ts:11–11  ·  view source on GitHub ↗
(mockApp: unknown)

Source from the content-addressed store, hash-verified

9import { MockObsidian } from "../../helpers/obsidian-runtime";
10
11const createMockApp = (mockApp: unknown): App => mockApp as App;
12
13function createTask(overrides: Partial<TaskInfo> = {}): TaskInfo {
14 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected