@wdio/types 8.8.0 → 8.8.4

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/Services.d.ts +12 -12
  2. package/package.json +2 -2
@@ -99,10 +99,10 @@ export interface HookFunctions {
99
99
  onWorkerStart?(cid: string, caps: DesiredCapabilities, specs: string[], args: TestrunnerOptions, execArgv: string[]): unknown | Promise<unknown>;
100
100
  /**
101
101
  * Gets executed just after a worker process has exited.
102
- * @param {String} cid capability id (e.g 0-0)
103
- * @param {Number} exitCode 0 - success, 1 - fail
104
- * @param {[type]} specs specs to be run in the worker process
105
- * @param {Number} retries number of retries used
102
+ * @param {string} cid capability id (e.g 0-0)
103
+ * @param {number} exitCode 0 - success, 1 - fail
104
+ * @param {object} specs specs to be run in the worker process
105
+ * @param {number} retries number of retries used
106
106
  */
107
107
  onWorkerEnd?(cid: string, exitCode: number, specs: string[], retries: number): unknown | Promise<unknown>;
108
108
  /**
@@ -155,19 +155,19 @@ export interface HookFunctions {
155
155
  afterSuite?(suite: Suite): unknown | Promise<unknown>;
156
156
  /**
157
157
  * Function to be executed before a test (in Mocha/Jasmine only)
158
- * @param {Object} test test object
159
- * @param {Object} context scope object the test was executed with
158
+ * @param {object} test test object
159
+ * @param {object} context scope object the test was executed with
160
160
  */
161
161
  beforeTest?(test: Test, context: any): unknown | Promise<unknown>;
162
162
  /**
163
163
  * Function to be executed after a test (in Mocha/Jasmine only)
164
- * @param {Object} test test object
165
- * @param {Object} context scope object the test was executed with
164
+ * @param {object} test test object
165
+ * @param {object} context scope object the test was executed with
166
166
  * @param {Error} result.error error object in case the test fails, otherwise `undefined`
167
- * @param {Any} result.result return object of test function
168
- * @param {Number} result.duration duration of test
169
- * @param {Boolean} result.passed true if test has passed, otherwise false
170
- * @param {Object} result.retries informations to spec related retries, e.g. `{ attempts: 0, limit: 0 }`
167
+ * @param {*} result.result return object of test function
168
+ * @param {number} result.duration duration of test
169
+ * @param {boolean} result.passed true if test has passed, otherwise false
170
+ * @param {object} result.retries informations to spec related retries, e.g. `{ attempts: 0, limit: 0 }`
171
171
  */
172
172
  afterTest?(test: Test, context: any, result: TestResult): unknown | Promise<unknown>;
173
173
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/types",
3
- "version": "8.8.0",
3
+ "version": "8.8.4",
4
4
  "description": "Utility package providing type information for a variety of WebdriverIO interfaces",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-types",
@@ -32,5 +32,5 @@
32
32
  "dependencies": {
33
33
  "@types/node": "^18.0.0"
34
34
  },
35
- "gitHead": "5089710e47a4bf14dac948302ac12edd71a83331"
35
+ "gitHead": "e88a296000de70344fbf19d0d63a54cb1a617427"
36
36
  }