(label: string)
| 24 | const VERSION = '9.9.9-test'; |
| 25 | |
| 26 | function mkTmp(label: string): string { |
| 27 | return fs.mkdtempSync(path.join(os.tmpdir(), `cg-sdk-${label}-`)); |
| 28 | } |
| 29 | |
| 30 | // A temp node_modules with the main package (npm-sdk.js + package.json). The |
| 31 | // fake platform package, when present, is written as a resolvable sibling so the |