Socket
Socket
Sign inDemoInstall

jest-unique-reporter

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.1.0

21

index.js

@@ -53,7 +53,2 @@ // This reporter will keep track of unique test

const testStruct = {
title: t.title,
filename: relativeTestFilePath
};
let key = '';

@@ -64,6 +59,6 @@ if (this._options.global) {

key = t.fullName;
} else {
// Unique test names across all files
key = t.title;
}
// Unique test names across all files
key = t.title;
} else {

@@ -73,7 +68,11 @@ if (this._options.useFullName) {

key = `${relativeTestFilePath}-${t.fullName}`;
} else {
// Unique test name across per file
key = `${relativeTestFilePath}-${t.title}`;
}
// Unique test name across per file
key = `${relativeTestFilePath}-${t.title}`;
}
const testStruct = {
title: key,
filename: relativeTestFilePath
};

@@ -80,0 +79,0 @@ return Object.assign(

{
"name": "jest-unique-reporter",
"version": "1.0.1",
"version": "1.1.0",
"description": "A jest reporter that enforces unique test names",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc