Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 336b5a0

Browse files
committedJun 27, 2022
fix: update broken integration test
1 parent fab022f commit 336b5a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/integration/listExtensions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import extract from "extract-zip"
12
import { rename } from "fs/promises"
23
import path from "path"
3-
import extract from "extract-zip"
44
import { clean, tmpdir } from "../utils/helpers"
55
import { 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"])

0 commit comments

Comments
 (0)
Please sign in to comment.