ci-slack-reporter 1.0.9-a5 → 1.0.9-a7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -108,7 +108,7 @@ class MyReporter {
108
108
 
109
109
  out[runner.file].attachments[0].blocks[0].text.text = `Tests finished ${stats.passes}/${stats.passes + stats.failures}`;
110
110
  out[runner.file].attachments[0].color = stats.failures ? "#a30200" : "#2eb886";
111
- console.log(`⚡ webhook send ${runner.file}`, JSON.stringify(out[runner.file]));
111
+ console.log(`⚡ webhook send ${runner.file} / ${process.env.CI_SLACK_REPORTER_WEBHOOK}`, JSON.stringify(out[runner.file]));
112
112
  webhook.send(out[runner.file]);
113
113
 
114
114
  if (stats.failures) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ci-slack-reporter",
3
- "version": "1.0.9a5",
3
+ "version": "1.0.9a7",
4
4
  "description": "Mocha/Cypress reporter to post tests results directly to Slack",
5
5
  "main": "index.js",
6
6
  "scripts": {