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

Function createMockApp

tests/unit/modals/TaskCreationModal.test.ts:17–17  ·  view source on GitHub ↗
(mockApp: any)

Source from the content-addressed store, hash-verified

15// Type helper to safely cast mock App to real App type
16// @ts-ignore: Mock App type is compatible at runtime despite TypeScript warnings
17const createMockApp = (mockApp: any): App => mockApp as unknown as App;
18
19// Use real libraries instead of mocks
20import { format } from "date-fns";

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected