testcafe-reporter-nunit
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "testcafe-reporter-nunit", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "NUnit Test Result XML reporter plugin for TestCafe", | ||
@@ -5,0 +5,0 @@ "main": "src/index", |
@@ -70,9 +70,12 @@ var readSync = require('read-file-relative').readSync; | ||
var fixtureDir = path.dirname(this.currentFixture.path); | ||
var virtualPath = path.sep; | ||
var fixtureName = this.currentFixture.name; | ||
if (this.rootPath) | ||
virtualPath += path.relative(this.rootPath, fixtureDir); | ||
if (this.rootPath) { | ||
var virtualPath = path.sep + path.relative(this.rootPath, fixtureDir); | ||
fixtureName = path.join(virtualPath, fixtureName); | ||
} | ||
test = { | ||
name: "'" + path.join(virtualPath, this.currentFixture.name) + "' - " + name, | ||
name: "'" + fixtureName + "' - " + name, | ||
time: testRunInfo.durationMs / 1000, | ||
@@ -79,0 +82,0 @@ result: successToResult(testSuccess), |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
8100
118
0