(fileName: string)
| 322 | } |
| 323 | |
| 324 | readFile(fileName: string) { |
| 325 | const filePath = join(this.testDir!, fileName); |
| 326 | const content = readFileSync(filePath, 'utf-8'); |
| 327 | if (env.KEEP_OUTPUT === 'true' || env.VERBOSE === 'true') { |
| 328 | console.log(`--- FILE: ${filePath} ---`); |
| 329 | console.log(content); |
| 330 | console.log(`--- END FILE: ${filePath} ---`); |
| 331 | } |
| 332 | return content; |
| 333 | } |
| 334 | |
| 335 | async cleanup() { |
| 336 | // Clean up test directory |
no outgoing calls