Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-parallel-spec-runner

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-parallel-spec-runner - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

2

package.json
{
"name": "grunt-parallel-spec-runner",
"version": "0.3.4",
"version": "0.3.5",
"description": "Plugin used to configure and launch multiple spec ",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/RallySoftware/grunt-parallel-spec-runner.git",

@@ -24,6 +24,2 @@ /*

if(options.isolateAllSpecs){
options.maxSpecFilesPerRunner = 1;
};
var handleError = function(error, result, code, specRuner){

@@ -36,2 +32,3 @@ if(code !== 0){

message += grunt.util.linefeed + String(error);
message += grunt.util.linefeed + String(result);
grunt.log.error(message);

@@ -53,5 +50,3 @@ }

options.specs.forEach(function(path) {
if(options.isolatedSpecs.indexOf(path) == -1){
buildSpecRunner(path);
}
buildSpecRunner(path);
});

@@ -365,2 +360,15 @@

if(options.isolateAllSpecs){
options.isolatedSpecs = options.specs.slice(0);
}
if(options.isolatedSpecs.length > 0){
options.specs = options.specs.filter(function(path){
if(options.isolatedSpecs.indexOf(path) != -1){
return false;
}
return true;
});
}
//Use the user defined number of spec files per runner, or split the spec files among the available runners

@@ -367,0 +375,0 @@ options.maxSpecFilesPerRunner = +grunt.option('maxSpecFilesPerRunner') > 0 ? +grunt.option('maxSpecFilesPerRunner')

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