vscode-test
Advanced tools
Comparing version 0.4.0 to 0.4.1
# Changelog | ||
### 0.4.1 | 2019-05-02 | ||
- Fix Linux crash because `testRunnerEnv` is not merged with `process.env` for spawning the | ||
testing process. [#14](https://github.com/Microsoft/vscode-test/issues/14c). | ||
### 0.4.0 | 2019-04-18 | ||
@@ -4,0 +9,0 @@ |
@@ -79,3 +79,4 @@ "use strict"; | ||
return [2 /*return*/, new Promise(function (resolve, reject) { | ||
var cmd = cp.spawn(executable, args, { env: testRunnerEnv }); | ||
var fullEnv = Object.assign({}, process.env, testRunnerEnv); | ||
var cmd = cp.spawn(executable, args, { env: fullEnv }); | ||
cmd.stdout.on('data', function (data) { | ||
@@ -82,0 +83,0 @@ var s = data.toString(); |
{ | ||
"name": "vscode-test", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "compile": "tsc -p ./", |
@@ -80,3 +80,4 @@ # vscode-test | ||
/** | ||
* Add additional launch flags for VS Code | ||
* - Add additional launch flags for VS Code | ||
* - Pass custom environment variables to test runner | ||
*/ | ||
@@ -89,3 +90,5 @@ await runTests({ | ||
// This disables all extensions except the one being testing | ||
additionalLaunchArgs: ['--disable-extensions'] | ||
additionalLaunchArgs: ['--disable-extensions'], | ||
// Custom environment variables for test runner | ||
testRunnerEnv: { foo: 'bar' } | ||
}) | ||
@@ -92,0 +95,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38870
599
127
7