@empiricalrun/reporter
Advanced tools
Comparing version 0.6.3 to 0.6.4
# @empiricalrun/reporter | ||
## 0.6.4 | ||
### Patch Changes | ||
- 08ecca2: fix: test gen should quit after 3 consecutive errors and update dashboard sink message format | ||
## 0.6.3 | ||
@@ -4,0 +10,0 @@ |
@@ -24,6 +24,6 @@ "use strict"; | ||
const results = this.reportSource?.resultsSummary(); | ||
const successMessage = `Success! The tests passed! 🎉✨ View the report [here](${this.reportSource.reportLink()})`; | ||
const failureMessage = `Tests failed! 😞 View the report [here](${this.reportSource.reportLink()})`; | ||
const payload = { | ||
message: ` | ||
Test ${results.hasPassed ? "passed" : "failed"}. | ||
View details: ${this.reportSource.reportLink()}`, | ||
message: results.hasPassed ? successMessage : failureMessage, | ||
pull_request: this.prLink, | ||
@@ -37,5 +37,3 @@ }; | ||
const payload = { | ||
message: ` | ||
Test started. | ||
View details: ${this.runLink}`, | ||
message: `Test run started! 🏁 Dive into the details [here](${this.runLink})`, | ||
pull_request: this.prLink, | ||
@@ -49,5 +47,3 @@ }; | ||
const payload = { | ||
message: ` | ||
Test failed to run. | ||
View details: ${this.runLink}`, | ||
message: `Test failed to run. View [run](${this.runLink}) for more details`, | ||
pull_request: this.prLink, | ||
@@ -62,5 +58,3 @@ }; | ||
const payload = { | ||
message: ` | ||
Test generation started. | ||
View details: ${this.runLink}`, | ||
message: `Test generation started. View [details](${this.runLink})`, | ||
pull_request: this.prLink, | ||
@@ -74,5 +68,3 @@ }; | ||
const payload = { | ||
message: ` | ||
Successfully generated tests. | ||
View details: ${this.prLink}`, | ||
message: `Test successfully generated! 🎉 Check out the details [here](${this.prLink})`, | ||
pull_request: this.prLink, | ||
@@ -79,0 +71,0 @@ }; |
{ | ||
"name": "@empiricalrun/reporter", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "registry": "https://registry.npmjs.org/", |
Sorry, the diff of this file is not supported yet
44113
1037