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

grunt-protractor-coverage

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-protractor-coverage - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

test/protractor/exclude2.spec.js

2

package.json
{
"name": "grunt-protractor-coverage",
"version": "0.2.6",
"version": "0.2.7",
"description": "Instrument your code and gather coverage data from Protractor E2E tests",

@@ -5,0 +5,0 @@ "main": "Gruntfile.js",

@@ -56,3 +56,2 @@ /*

if(f.type==='Literal'){
grunt.verbose.warn(JSON.stringify(f,null,4));
if(/^\.\//.test(f.value)){

@@ -114,3 +113,3 @@ if(!/\.js$/.test(f.value)){

//list
"specs",
"specs","exclude",
//boolean

@@ -141,9 +140,10 @@ "includeStackTrace", "verbose",

var specs=suppliedArgs.specs || [];
var excludes=suppliedArgs.exclude || [];
suppliedArgs.specs=[];
specs = specs.concat(pConfigs.config.specs || []);
excludes= excludes.concat(pConfigs.config.exclude || []);
excludes=grunt.file.expand(excludes);
grunt.verbose.writeln("Provided specs:", specs);
var files = grunt.file.expand({cwd:configDir},specs);
if(!files.length){
files=grunt.file.expand({cwd:process.cwd()},specs);
}
grunt.verbose.writeln("Exclusions:", excludes);
var files = grunt.file.expand(specs).filter(function(file){return excludes.indexOf(file)===-1;});
grunt.verbose.writeln("Expanded specs:", files);

@@ -150,0 +150,0 @@ //for each spec file, wrap each method call with a closure to save the coverage object

@@ -54,3 +54,3 @@ // A reference configuration file.

],
exclude: ['test/protractor/exclude2.spec.js'],
// ----- Capabilities to be passed to the webdriver instance ----

@@ -57,0 +57,0 @@ //

Sorry, the diff of this file is not supported yet

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