(f)
| 246 | |
| 247 | // helpers for reading/writing files and their source |
| 248 | const readFile = async (f) => { |
| 249 | const file = await fs.readFile(join(paths.project, f), 'utf-8') |
| 250 | return extname(f) === '.json' ? JSON.parse(file) : file |
| 251 | } |
| 252 | |
| 253 | return { |
| 254 | npmPath, |
no test coverage detected