mocha-nightwatch
Advanced tools
Comparing version 2.2.5 to 2.2.6
@@ -76,5 +76,12 @@ var create = require('lodash.create'); | ||
if (this.type == 'test') { | ||
var module = []; | ||
if (this.parent.parent.title) { | ||
module.push(this.parent.parent.title); | ||
} | ||
module.push(this.parent.title); | ||
var moduleTitle = module.join('/').toLocaleLowerCase().replace(/\s+/g,'-'); | ||
this._nightwatch.api('currentTest', { | ||
name : this.title, | ||
module : this.file | ||
module : moduleTitle | ||
}); | ||
@@ -81,0 +88,0 @@ } |
{ | ||
"name": "mocha-nightwatch", | ||
"version": "2.2.5", | ||
"version": "2.2.6", | ||
"description": "simple, flexible, fun test framework", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
556013
17108
35