Socket
Socket
Sign inDemoInstall

vscode-test

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-test - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

5

CHANGELOG.md
# 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 @@

3

out/runTest.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc