(text: string)
| 86 | } |
| 87 | |
| 88 | const hashOf = (text: string) => |
| 89 | createHash("sha256").update(text).digest("hex").slice(0, 24) |
| 90 | |
| 91 | export const answerFileOf = (dir: string, id: string): string => |
| 92 | join(dir, `${hashOf(id)}.json`) |
no test coverage detected