jest-unique-reporter
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -47,3 +47,8 @@ // This reporter will keep track of unique test | ||
const titles = suite.testResults.map((t) => { | ||
// Skip over skipped tests | ||
// Title is always blank for these for some reason.. | ||
const titles = suite.testResults | ||
.filter((t) => t.status !== 'pending') | ||
.map((t) => { | ||
const testStruct = { | ||
@@ -50,0 +55,0 @@ title: t.title, |
{ | ||
"name": "jest-unique-reporter", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A jest reporter that enforces unique test names", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# jest-unique-reporter | ||
A jest reporter that enforces unique test names | ||
A jest reporter that enforces unique test names. | ||
If duplicate test names are found then the test run will fail and tell you where the duplicates are. | ||
@@ -4,0 +5,0 @@ ## Installation |
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
17478
81
44