(entries: object[])
| 28 | } |
| 29 | |
| 30 | function writeProfile(entries: object[]): void { |
| 31 | const profileFile = path.join(tmpDir, 'builder-profile.jsonl'); |
| 32 | const content = entries.map(e => JSON.stringify(e)).join('\n') + '\n'; |
| 33 | fs.writeFileSync(profileFile, content); |
| 34 | } |
| 35 | |
| 36 | function makeEntry(overrides: Partial<{ |
| 37 | date: string; |
no outgoing calls
no test coverage detected