(path: string)
| 43 | |
| 44 | /** Reads and validates a journal file. */ |
| 45 | export const parseJournalFile = async (path: string): Promise<Journal> => |
| 46 | parseJournal(JSON.parse(await readFile(path, "utf8"))); |
| 47 | |
| 48 | /** Records a suite resource in the journal and persists it. */ |
| 49 | export async function journalResource(journal: Journal, journalPath: string, kind: string, id: string): Promise<void> { |
no test coverage detected