diff --git a/package.json b/package.json index 12ee93b7..57942fba 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ } ], "engines": { - "vscode": "^1.83.0" + "vscode": "^1.91.0" }, "enabledApiProposals": [ "fileSearchProvider", @@ -1764,7 +1764,7 @@ "test": "node ./out/test/runTest.js", "lint": "eslint src/**", "lint-fix": "eslint --fix src/**", - "download-api": "dts dev 1.83.0", + "download-api": "dts dev 1.91.0", "postinstall": "npm run download-api" }, "devDependencies": { @@ -1773,7 +1773,7 @@ "@types/mocha": "^7.0.2", "@types/node": "^14.18.0", "@types/semver": "7.5.4", - "@types/vscode": "1.83.0", + "@types/vscode": "1.91.0", "@types/ws": "8.5.4", "@types/xmldom": "^0.1.29", "@typescript-eslint/eslint-plugin": "^4.32.0", diff --git a/src/commands/unitTest.ts b/src/commands/unitTest.ts index 02490e75..dccceab4 100644 --- a/src/commands/unitTest.ts +++ b/src/commands/unitTest.ts @@ -891,13 +891,17 @@ async function runHandler( } } // Start the debugging session - startedDebugging = await vscode.debug.startDebugging(undefined, { - type: "objectscript", - request: "attach", - name: "Unit tests", - cspDebugId: queueResp.result.content.debugId, - isUnitTest: true, - }); + startedDebugging = await vscode.debug.startDebugging( + undefined, + { + type: "objectscript", + request: "attach", + name: "Unit tests", + cspDebugId: queueResp.result.content.debugId, + isUnitTest: true, + }, + { testRun } + ); } if (pollResp.retryafter) {