(baseDir)
| 25 | } |
| 26 | |
| 27 | export function snapshotDirFor(baseDir) { |
| 28 | const hash = crypto.randomBytes(4).toString('hex') |
| 29 | return path.resolve(baseDir, `snapshot_${Date.now()}_${hash}`) |
| 30 | } |
| 31 | |
| 32 | // --------------------------------------------------------------------------- |
| 33 | // Artifact link rendering (trace.md) |
no test coverage detected