(content)
| 507 | // normalize snapshots or stack traces being tested |
| 508 | // to a consistent test dir value since it's random |
| 509 | public normalizeTestDirContent(content) { |
| 510 | content = content.replace( |
| 511 | new RegExp(escapeStringRegexp(this.testDir), 'g'), |
| 512 | 'TEST_DIR' |
| 513 | ) |
| 514 | return content |
| 515 | } |
| 516 | |
| 517 | public async clean() { |
| 518 | if (this.childProcess) { |
no test coverage detected