11import { window } from "vscode" ;
22import { join } from "path" ;
33
4- import { CodeQLCliServer } from "../../../src/cli" ;
5- import { getErrorMessage } from "../../../src/pure/helpers-pure" ;
4+ import { CodeQLCliServer } from "../../../../ src/cli" ;
5+ import { getErrorMessage } from "../../../../ src/pure/helpers-pure" ;
66
7- import * as helpers from "../../../src/helpers" ;
7+ import * as helpers from "../../../../ src/helpers" ;
88import {
99 handleDownloadPacks ,
1010 handleInstallPackDependencies ,
11- } from "../../../src/packaging" ;
12- import { mockedQuickPickItem } from "../utils/mocking.helpers" ;
13- import { getActivatedExtension } from "../global.helper" ;
11+ } from "../../../../ src/packaging" ;
12+ import { mockedQuickPickItem } from "../../ utils/mocking.helpers" ;
13+ import { getActivatedExtension } from "../../ global.helper" ;
1414
1515describe ( "Packaging commands" , ( ) => {
1616 let cli : CodeQLCliServer ;
@@ -82,7 +82,7 @@ describe("Packaging commands", () => {
8282 } ) ;
8383
8484 it ( "should install valid workspace pack" , async ( ) => {
85- const rootDir = join ( __dirname , "./data" ) ;
85+ const rootDir = join ( __dirname , ".. /data" ) ;
8686 quickPickSpy . mockResolvedValue (
8787 mockedQuickPickItem ( [
8888 {
@@ -99,7 +99,7 @@ describe("Packaging commands", () => {
9999 } ) ;
100100
101101 it ( "should throw an error when installing invalid workspace pack" , async ( ) => {
102- const rootDir = join ( __dirname , "../data-invalid-pack" ) ;
102+ const rootDir = join ( __dirname , "../../ data-invalid-pack" ) ;
103103 quickPickSpy . mockResolvedValue (
104104 mockedQuickPickItem ( [
105105 {
0 commit comments