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

Function createMockApp

tests/unit/utils/linkUtils.test.ts:5–5  ·  view source on GitHub ↗
(mockApp: any)

Source from the content-addressed store, hash-verified

3import type { App, TFile } from 'obsidian';
4
5const createMockApp = (mockApp: any): App => mockApp as unknown as App;
6
7describe('linkUtils - frontmatter link format', () => {
8 let mockApp: App;

Callers 1

linkUtils.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected