(name: string)
| 25 | }); |
| 26 | |
| 27 | function getLogContent(name: string) { |
| 28 | const logPath = path.join(getFilepath('apps'), name, 'logs', name, `${name}-web.log`); |
| 29 | return fs.readFileSync(logPath, 'utf8'); |
| 30 | } |
| 31 | |
| 32 | function contains(content: string, match: string) { |
| 33 | return content.split('\n').filter(line => line.includes(match)).length; |
no test coverage detected
searching dependent graphs…