diff --git a/package.json b/package.json index b4f43efc3b..2bebae72c1 100644 --- a/package.json +++ b/package.json @@ -1425,6 +1425,7 @@ "@types/temp": "0.8.34", "@typescript-eslint/eslint-plugin": "4.18.0", "@typescript-eslint/parser": "4.18.0", + "@vscode/test-electron": "^1.6.1", "buffer": "^6.0.3", "crypto-browserify": "3.12.0", "css-loader": "5.1.3", @@ -1461,7 +1462,6 @@ "ts-loader": "8.0.18", "tty": "1.0.1", "typescript": "4.2.3", - "vscode-test": "^1.5.1", "webpack": "5.26.3", "webpack-cli": "4.2.0" }, diff --git a/src/test/runTests.ts b/src/test/runTests.ts index 54911c6bd3..939f855bac 100644 --- a/src/test/runTests.ts +++ b/src/test/runTests.ts @@ -1,5 +1,5 @@ import * as path from 'path'; -import { runTests } from 'vscode-test'; +import { runTests } from '@vscode/test-electron'; async function go() { try { diff --git a/yarn.lock b/yarn.lock index 421850ce5c..eb0faf0963 100644 --- a/yarn.lock +++ b/yarn.lock @@ -462,6 +462,16 @@ "@typescript-eslint/types" "4.18.0" eslint-visitor-keys "^2.0.0" +"@vscode/test-electron@^1.6.1": + version "1.6.1" + resolved "https://registry.yarnpkg.com/@vscode/test-electron/-/test-electron-1.6.1.tgz#2b282154097e250ee9b94b6a284eb5804e53a3d7" + integrity sha512-WTs+OK9YrKSVJNZ9IjytNibHSJG2YslZXuS3pw9gedF25TgYF/+FQhQYL0ZPX4uupS0SGAPKzMnhYDkjPDxowA== + 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" @@ -4575,16 +4585,6 @@ vscode-tas-client@^0.1.17: dependencies: tas-client "0.1.16" -vscode-test@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/vscode-test/-/vscode-test-1.5.1.tgz#68430a4def0f0c07187e0e1dfd3299fabb4c58e0" - integrity sha512-tDloz6euDne+GeUSglhufL0c2xhuYAPAT74hjsuGxfflALfXF9bYnJ7ehZEeVkr/ZnQEh/T8EBrfPL+m0h5qEQ== - dependencies: - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" - rimraf "^3.0.2" - unzipper "^0.10.11" - vsls@^0.3.967: version "0.3.1291" resolved "https://registry.yarnpkg.com/vsls/-/vsls-0.3.1291.tgz#55928c363b24d39a5d03d8e946ba85d7dcec3e38"