(targetDir: string)
| 59 | } |
| 60 | |
| 61 | private async extractLatestExtension(targetDir: string): Promise<void> { |
| 62 | if (process.env.VSIX_NAME) { |
| 63 | const extensionFile = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, process.env.VSIX_NAME!); |
| 64 | await unzip(extensionFile, targetDir); |
| 65 | } else { |
| 66 | fs.mkdirSync(targetDir, { recursive: true }); |
| 67 | } |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | new TestRunner().start().catch((ex) => { |