ci-slack-reporter 1.0.11 → 1.0.12

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
@@ -41,10 +41,10 @@ class MyReporter {
41
41
  constructor(runner) {
42
42
  this._indents = 0;
43
43
  const stats = runner.stats;
44
+ const filename = runner.suite?.file;
44
45
 
45
46
  runner
46
47
  .once(EVENT_RUN_BEGIN, () => {
47
- const filename = runner.suite?.file;
48
48
  console.log(`⚡runner ${filename}`);
49
49
 
50
50
  out[filename] = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ci-slack-reporter",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Mocha/Cypress reporter to post tests results directly to Slack",
5
5
  "main": "index.js",
6
6
  "scripts": {