(
files: TFile[] = [],
resolved: Record<string, TFile | undefined> = {}
)
| 17 | } |
| 18 | |
| 19 | function createContext( |
| 20 | files: TFile[] = [], |
| 21 | resolved: Record<string, TFile | undefined> = {} |
| 22 | ): TaskModalProjectStringContext { |
| 23 | return { |
| 24 | sourcePath: "Tasks/current.md", |
| 25 | getMarkdownFiles: () => files, |
| 26 | resolveLink: (linkPath) => resolved[linkPath], |
| 27 | }; |
| 28 | } |
| 29 | |
| 30 | function createApp(files: Record<string, TFile> = {}): any { |
| 31 | return { |
no outgoing calls
no test coverage detected