(root, filePath, content)
| 12 | } |
| 13 | |
| 14 | function write(root, filePath, content) { |
| 15 | const fullPath = join(root, filePath); |
| 16 | mkdirSync(dirname(fullPath), { recursive: true }); |
| 17 | writeFileSync(fullPath, content); |
| 18 | } |
| 19 | |
| 20 | function run(root, args = []) { |
| 21 | return spawnSync(process.execPath, [scriptPath, "--root", root, ...args], { |
no outgoing calls
no test coverage detected