(source, destination)
| 29 | const nodePath = path.dirname(process.execPath); |
| 30 | |
| 31 | function spawnCopyDeepSync(source, destination) { |
| 32 | if (common.isWindows) { |
| 33 | mkdirSync(destination); // Prevent interactive prompt |
| 34 | return spawnSync('xcopy.exe', ['/E', source, destination]); |
| 35 | } |
| 36 | return spawnSync('cp', ['-r', `${source}/`, destination]); |
| 37 | } |
| 38 | |
| 39 | function runNPMPackageTests({ srcDir, install, rebuild, testArgs, logfile }) { |
| 40 | // Make sure we don't conflict with concurrent test runs |
no test coverage detected
searching dependent graphs…