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.3 to 0.2.4

5

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

@@ -25,6 +25,7 @@ "main": "Gruntfile.js",

"devDependencies": {
"grunt": "~0.4.4",
"grunt-cli": "~0.1.11",
"grunt-contrib-jshint": "~0.1.0",
"grunt-contrib-clean": "~0.4.0a",
"grunt-contrib-nodeunit": "~0.1.0",
"grunt": "~0.4.0rc2",
"grunt-contrib-copy": "~0.5.0"

@@ -31,0 +32,0 @@ },

22

tasks/protractor_coverage.js

@@ -20,3 +20,14 @@ /*

var escodegen=require('escodegen');
Array.prototype.unique = function() {
var a = [], l = this.length;
for(var i=0; i<l; i++) {
for(var j=i+1; j<l; j++){
if (this[i] === this[j]){
j = ++i;
}
}
a.push(this[i]);
}
return a;
};
module.exports = function(grunt) {

@@ -138,5 +149,8 @@

});
args = args.concat(dargs(suppliedArgs, {
joinLists: true
}));
args = args
.concat(dargs(suppliedArgs, {
joinLists: true
}))
.concat(grunt.option.flags())
.unique();

@@ -143,0 +157,0 @@ grunt.verbose.writeln("Specs: \n\t" + suppliedArgs.specs.join("\n\t"));

@@ -39,4 +39,4 @@ // A reference configuration file.

// connect to an already running instance of selenium. This usually looks like
seleniumAddress: 'http://localhost:4444/wd/hub',
// seleniumAddress: 'http://ondemand.saucelabs.com/wd/hub',
// seleniumAddress: 'http://localhost:4444/wd/hub',
seleniumAddress: 'http://ondemand.saucelabs.com/wd/hub',
// If sauceUser and sauceKey are specified, seleniumServerJar will be ignored.

@@ -64,7 +64,10 @@ // The tests will be run remotely using SauceLabs.

capabilities: {
// 'username': 'fasterness',
// 'accessKey':'128690e9-57c0-485c-9728-464a08acbf69',
'username': process.env['SAUCE_USERNAME'],
'accessKey':process.env['SAUCE_ACCESS_KEY'],
'browserName': 'chrome',
// 'browserName': 'firefox'
// 'browserName': 'phantomjs'
'build': process.env['TRAVIS_BUILD_NUMBER'],
'tags': ['CI'],
'tunnel-identifier': process.env['TRAVIS_JOB_NUMBER'],
},

@@ -71,0 +74,0 @@ params: {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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