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"
1
2
import { rename } from "fs/promises"
2
3
import path from "path"
3
- import extract from "extract-zip"
4
4
import { clean , tmpdir } from "../utils/helpers"
5
5
import { runCodeServerCommand } from "../utils/runCodeServerCommand"
6
6
@@ -21,7 +21,7 @@ describe("--list-extensions", () => {
21
21
const pathToUnpackedExtension = path . join ( tempDir , `${ extName } -${ extVersion } ` )
22
22
const tempPathToUnpackedExtension = path . join ( tempDir , `${ extName } -temp` )
23
23
await extract ( extensionFixture , { dir : tempPathToUnpackedExtension } )
24
- await rename ( path . join ( tempPathToUnpackedExtension , "extension" , pathToUnpackedExtension ) )
24
+ await rename ( path . join ( tempPathToUnpackedExtension , "extension" ) , pathToUnpackedExtension )
25
25
} )
26
26
it ( "should list installed extensions" , async ( ) => {
27
27
const { stdout } = await runCodeServerCommand ( [ ...setupFlags , "--list-extensions" ] )
You can’t perform that action at this time.
0 commit comments