Socket
Socket
Sign inDemoInstall

mocha-headless-chrome

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-headless-chrome - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

2

package.json
{
"name": "mocha-headless-chrome",
"version": "1.7.0",
"version": "1.7.1",
"description": "Run client-side mocha tests in the command line through headless Chrome",

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

@@ -92,2 +92,3 @@ # mocha-headless-chrome

executablePath: '/usr/bin/chrome-unstable', // chrome executable path
visible: true, // show chrome window
args: ['no-sandbox'] // chrome arguments

@@ -94,0 +95,0 @@ };

@@ -62,3 +62,3 @@ 'use strict';

function setResult() {
window.__mochaResult__ = result(this.stats);
!window.__mochaResult__ && (window.__mochaResult__ = result(this.stats));
}

@@ -69,3 +69,4 @@

.on('fail', test => { failures.push(test); all.push(test); })
.on('pending', test => { pending.push(test); all.push(test); });
.on('pending', test => { pending.push(test); all.push(test); })
.on('end', setResult);

@@ -72,0 +73,0 @@ return runner;

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