MCPcopy
hub / github.com/callumalpass/tasknotes / getPage

Function getPage

e2e/docs-screenshots.spec.ts:47–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45});
46
47function getPage(): Page {
48 if (!app?.page) {
49 throw new Error('Obsidian app not initialized');
50 }
51 return app.page;
52}
53
54// Helper to ensure clean state before each screenshot
55async function ensureCleanState(page: Page): Promise<void> {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected