(app: MockApp, path: string, frontmatter: Record<string, unknown>)
| 50 | } |
| 51 | |
| 52 | function createFile(app: MockApp, path: string, frontmatter: Record<string, unknown>): TFile { |
| 53 | const file = new TFile(path); |
| 54 | app.__files.set(path, file); |
| 55 | app.__metadata.set(path, { frontmatter }); |
| 56 | return file; |
| 57 | } |
| 58 | |
| 59 | function createDependencyCache(app: MockApp): DependencyCache { |
| 60 | return new DependencyCache( |
no test coverage detected