mocha-headless-chrome
Advanced tools
Comparing version 1.7.0 to 1.7.1
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
32960
731
104
0