()
| 19 | let homeDir; |
| 20 | |
| 21 | async function createUserDir() { |
| 22 | if (!homeDir) { |
| 23 | homeDir = path.join(os.tmpdir(),"nr-test-"+Math.floor(Math.random()*100000)); |
| 24 | } |
| 25 | await fs.ensureDir(homeDir); |
| 26 | } |
| 27 | |
| 28 | async function setupExternalModulesPackage(dependencies) { |
| 29 | await fs.writeFile(path.join(homeDir,"package.json"),`{ |
no outgoing calls
no test coverage detected