Use path.join in folder paths

This commit is contained in:
shati-patel
2023-04-12 14:12:33 +01:00
parent a968aab209
commit 4b01374a6f

View File

@@ -327,12 +327,20 @@ describe("SkeletonQueryWizard", () => {
jest.spyOn(workspace, "workspaceFolders", "get").mockReturnValue([
{
name: "codeql-custom-queries-cpp",
uri: { fsPath: "vscode-codeql-starter/codeql-custom-queries-cpp" },
uri: {
fsPath: join(
"vscode-codeql-starter",
"codeql-custom-queries-cpp",
),
},
},
{
name: "codeql-custom-queries-csharp",
uri: {
fsPath: "vscode-codeql-starter/codeql-custom-queries-csharp",
fsPath: join(
"vscode-codeql-starter",
"codeql-custom-queries-csharp",
),
},
},
] as WorkspaceFolder[]);