MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / extractLatestExtension

Method extractLatestExtension

src/test/smokeTest.node.ts:61–68  ·  view source on GitHub ↗
(targetDir: string)

Source from the content-addressed store, hash-verified

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
71new TestRunner().start().catch((ex) => {

Callers 1

startMethod · 0.95

Calls 2

unzipFunction · 0.90
joinMethod · 0.80

Tested by

no test coverage detected