File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1+ import extract from "extract-zip"
12import { rename } from "fs/promises"
23import path from "path"
3- import extract from "extract-zip"
44import { clean , tmpdir } from "../utils/helpers"
55import { runCodeServerCommand } from "../utils/runCodeServerCommand"
66
@@ -21,7 +21,7 @@ describe("--list-extensions", () => {
2121 const pathToUnpackedExtension = path . join ( tempDir , `${ extName } -${ extVersion } ` )
2222 const tempPathToUnpackedExtension = path . join ( tempDir , `${ extName } -temp` )
2323 await extract ( extensionFixture , { dir : tempPathToUnpackedExtension } )
24- await rename ( path . join ( tempPathToUnpackedExtension , "extension" , pathToUnpackedExtension ) )
24+ await rename ( path . join ( tempPathToUnpackedExtension , "extension" ) , pathToUnpackedExtension )
2525 } )
2626 it ( "should list installed extensions" , async ( ) => {
2727 const { stdout } = await runCodeServerCommand ( [ ...setupFlags , "--list-extensions" ] )
You can’t perform that action at this time.
0 commit comments