@wdio/types 8.23.0 → 8.23.1

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.
@@ -4,7 +4,7 @@ import type { DesiredCapabilities, RemoteCapability, RemoteCapabilities } from '
4
4
  import type { Testrunner as TestrunnerOptions, WebdriverIO as WebdriverIOOptions } from './Options.js';
5
5
  import type { Suite, Test, TestResult } from './Frameworks.js';
6
6
  export interface RunnerInstance {
7
- initialise(): Promise<void>;
7
+ initialize(): Promise<void>;
8
8
  shutdown(): Promise<boolean>;
9
9
  closeSession?: (cid: number) => Promise<void>;
10
10
  getWorkerCount(): number;
@@ -89,12 +89,12 @@ export interface HookFunctions {
89
89
  */
90
90
  onComplete?(exitCode: number, config: Omit<TestrunnerOptions, 'capabilities'>, capabilities: RemoteCapabilities, results: any): unknown | Promise<unknown>;
91
91
  /**
92
- * Gets executed before a worker process is spawned and can be used to initialise specific service
92
+ * Gets executed before a worker process is spawned and can be used to initialize specific service
93
93
  * for that worker as well as modify runtime environments in an async fashion.
94
94
  * @param cid capability id (e.g 0-0)
95
95
  * @param caps object containing capabilities for session that will be spawn in the worker
96
96
  * @param specs specs to be run in the worker process
97
- * @param args object that will be merged with the main configuration once worker is initialised
97
+ * @param args object that will be merged with the main configuration once worker is initialized
98
98
  * @param execArgv list of string arguments passed to the worker process
99
99
  */
100
100
  onWorkerStart?(cid: string, caps: DesiredCapabilities, specs: string[], args: TestrunnerOptions, execArgv: string[]): unknown | Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/types",
3
- "version": "8.23.0",
3
+ "version": "8.23.1",
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": "^20.1.0"
34
34
  },
35
- "gitHead": "b17ce5f554deb8588cc156ad9676bd4bd13defe7"
35
+ "gitHead": "64633b802ba4d00d23f6531dadc3fc724d8d7dd5"
36
36
  }