diff --git a/package.json b/package.json index 997fdc82..52d898a1 100644 --- a/package.json +++ b/package.json @@ -76,6 +76,7 @@ "@types/vscode": "^1.44.0", "@typescript-eslint/eslint-plugin": "^4.22.1", "@typescript-eslint/parser": "^4.22.1", + "@vscode/test-electron": "^1.6.2", "conventional-changelog-conventionalcommits": "^4.6.0", "esbuild-loader": "^2.13.1", "eslint": "^7.26.0", @@ -95,7 +96,6 @@ "semantic-release": "^17.4.3", "typescript": "^4.2.4", "vsce": "^1.88.0", - "vscode-test": "^1.5.2", "webpack": "^5.36.2", "webpack-cli": "^4.7.0", "webpack-node-externals": "^3.0.0", diff --git a/test/jest/cli.ts b/test/jest/cli.ts index f7054cab..c114175f 100644 --- a/test/jest/cli.ts +++ b/test/jest/cli.ts @@ -1,5 +1,5 @@ +import { runTests } from '@vscode/test-electron'; import path from 'path'; -import { runTests } from 'vscode-test'; runTests({ // note: this file is executed from `./out/test/jest` diff --git a/yarn.lock b/yarn.lock index 47105a84..a7a72d30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2544,6 +2544,16 @@ "@typescript-eslint/types" "4.22.1" eslint-visitor-keys "^2.0.0" +"@vscode/test-electron@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@vscode/test-electron/-/test-electron-1.6.2.tgz#f639cab19a0013949015079dcfd2ff0c1aa88a1b" + integrity sha512-W01ajJEMx6223Y7J5yaajGjVs1QfW3YGkkOJHVKfAMEqNB1ZHN9wCcViehv5ZwVSSJnjhu6lYEYgwBdHtCxqhQ== + dependencies: + http-proxy-agent "^4.0.1" + https-proxy-agent "^5.0.0" + rimraf "^3.0.2" + unzipper "^0.10.11" + "@webassemblyjs/ast@1.11.0": version "1.11.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.0.tgz#a5aa679efdc9e51707a4207139da57920555961f" @@ -14170,16 +14180,6 @@ vsce@^1.88.0: yauzl "^2.3.1" yazl "^2.2.2" -vscode-test@^1.5.2: - version "1.5.2" - resolved "https://registry.yarnpkg.com/vscode-test/-/vscode-test-1.5.2.tgz#d9ec3cab1815afae1d7d81923e3c685d13d32303" - integrity sha512-x9PVfKxF6EInH9iSFGQi0V8H5zIW1fC7RAer6yNQR6sy3WyOwlWkuT3I+wf75xW/cO53hxMi1aj/EvqQfDFOAg== - dependencies: - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" - rimraf "^3.0.2" - unzipper "^0.10.11" - w3c-hr-time@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"