@wdio/mocha-framework 9.16.2 → 9.17.0

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/build/index.js +1 -1
  2. package/package.json +3 -3
package/build/index.js CHANGED
@@ -232,7 +232,7 @@ Error: ${err.stack}`;
232
232
  this._runner.suite.beforeAll(this.wrapHook("beforeSuite"));
233
233
  this._runner.suite.afterAll(this.wrapHook("afterSuite"));
234
234
  });
235
- await executeHooksWithArgs("after", this._config.after, [runtimeError || result, this._capabilities, this._specs]);
235
+ await executeHooksWithArgs("after", this._config.after, [runtimeError || this._specLoadError || result, this._capabilities, this._specs]);
236
236
  if (runtimeError || this._specLoadError) {
237
237
  throw runtimeError || this._specLoadError;
238
238
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/mocha-framework",
3
- "version": "9.16.2",
3
+ "version": "9.17.0",
4
4
  "description": "A WebdriverIO plugin. Adapter for Mocha testing framework.",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-mocha-framework",
@@ -40,11 +40,11 @@
40
40
  "@types/node": "^20.11.28",
41
41
  "@wdio/logger": "9.16.2",
42
42
  "@wdio/types": "9.16.2",
43
- "@wdio/utils": "9.16.2",
43
+ "@wdio/utils": "9.17.0",
44
44
  "mocha": "^10.3.0"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "ff2154c00e7ba6d6e2a58e0b8e1258a20229752d"
49
+ "gitHead": "796df04f0f5c744d5ef4bafd3759995fa4829d6f"
50
50
  }