New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@empiricalrun/reporter

Package Overview
Dependencies
Maintainers
0
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@empiricalrun/reporter - npm Package Compare versions

Comparing version 0.12.1 to 0.12.2

6

CHANGELOG.md
# @empiricalrun/reporter
## 0.12.2
### Patch Changes
- 7b00d84: feat: add pass/fail to google chat notification
## 0.12.1

@@ -4,0 +10,0 @@

8

dist/sink/google.js

@@ -86,3 +86,4 @@ "use strict";

const results = this.reportSource.resultsSummary();
const title = "Tests completed";
const messageStatus = results.hasPassed ? "passed" : "failed";
const title = `Tests ${messageStatus}`;
const header = {

@@ -212,3 +213,3 @@ title,

summaryString(results) {
const { hasPassed, totalTests, failedTests } = results;
const { hasPassed, failedTests } = results;
const buildUrl = process.env.BUILD_URL

@@ -222,3 +223,4 @@ ? this.sanitizeBuildUrl(process.env.BUILD_URL)

else if (failedTests > 0) {
return `${failedTests} failed out of ${totalTests} tests ${buildUrlSuffix}`;
const tests = failedTests === 1 ? "test" : "tests";
return `${failedTests} ${tests} failed ${buildUrlSuffix}`;
}

@@ -225,0 +227,0 @@ }

{
"name": "@empiricalrun/reporter",
"version": "0.12.1",
"version": "0.12.2",
"publishConfig": {

@@ -5,0 +5,0 @@ "registry": "https://registry.npmjs.org/",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc