@wdio/local-runner 9.12.5 → 9.12.7
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.
- package/build/index.d.ts +3 -3
- package/build/index.d.ts.map +1 -1
- package/build/worker.d.ts +3 -3
- package/build/worker.d.ts.map +1 -1
- package/package.json +4 -4
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WritableStreamBuffer } from 'stream-buffers';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Workers } from '@wdio/types';
|
|
3
3
|
import WorkerInstance from './worker.js';
|
|
4
4
|
export type { WorkerInstance };
|
|
5
5
|
export interface RunArgs extends Workers.WorkerRunPayload {
|
|
@@ -8,11 +8,11 @@ export interface RunArgs extends Workers.WorkerRunPayload {
|
|
|
8
8
|
}
|
|
9
9
|
export default class LocalRunner {
|
|
10
10
|
private _options;
|
|
11
|
-
protected _config:
|
|
11
|
+
protected _config: WebdriverIO.Config;
|
|
12
12
|
workerPool: Record<string, WorkerInstance>;
|
|
13
13
|
stdout: WritableStreamBuffer;
|
|
14
14
|
stderr: WritableStreamBuffer;
|
|
15
|
-
constructor(_options: never, _config:
|
|
15
|
+
constructor(_options: never, _config: WebdriverIO.Config);
|
|
16
16
|
/**
|
|
17
17
|
* nothing to initialize when running locally
|
|
18
18
|
*/
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,cAAc,MAAM,aAAa,CAAA;AAKxC,YAAY,EAAE,cAAc,EAAE,CAAA;AAE9B,MAAM,WAAW,OAAQ,SAAQ,OAAO,CAAC,gBAAgB;IACrD,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,OAAO,CAAC,iBAAiB,CAAA;CAClC;AAED,MAAM,CAAC,OAAO,OAAO,WAAW;IAOxB,OAAO,CAAC,QAAQ;IAChB,SAAS,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM;IAPzC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAK;IAE/C,MAAM,uBAA2C;IACjD,MAAM,uBAA2C;gBAGrC,QAAQ,EAAE,KAAK,EACb,OAAO,EAAE,WAAW,CAAC,MAAM;IAGzC;;OAEG;IACH,UAAU;IAEV,cAAc;IAIR,GAAG,CAAE,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,aAAa,EAAE,EAAE,OAAO;IAgBvD;;;;;OAKG;IACH,QAAQ;CA2CX"}
|
package/build/worker.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import child from 'node:child_process';
|
|
|
2
2
|
import { EventEmitter } from 'node:events';
|
|
3
3
|
import type { ChildProcess } from 'node:child_process';
|
|
4
4
|
import type { WritableStreamBuffer } from 'stream-buffers';
|
|
5
|
-
import type {
|
|
5
|
+
import type { Workers } from '@wdio/types';
|
|
6
6
|
/**
|
|
7
7
|
* WorkerInstance
|
|
8
8
|
* responsible for spawning a sub process to run the framework in and handle its
|
|
@@ -10,7 +10,7 @@ import type { Options, Workers } from '@wdio/types';
|
|
|
10
10
|
*/
|
|
11
11
|
export default class WorkerInstance extends EventEmitter implements Workers.Worker {
|
|
12
12
|
cid: string;
|
|
13
|
-
config:
|
|
13
|
+
config: WebdriverIO.Config;
|
|
14
14
|
configFile: string;
|
|
15
15
|
caps: WebdriverIO.Capabilities;
|
|
16
16
|
capabilities: WebdriverIO.Capabilities;
|
|
@@ -43,7 +43,7 @@ export default class WorkerInstance extends EventEmitter implements Workers.Work
|
|
|
43
43
|
* @param {number} retries number of retries remaining
|
|
44
44
|
* @param {object} execArgv execution arguments for the test run
|
|
45
45
|
*/
|
|
46
|
-
constructor(config:
|
|
46
|
+
constructor(config: WebdriverIO.Config, { cid, configFile, caps, specs, execArgv, retries }: Workers.WorkerRunPayload, stdout: WritableStreamBuffer, stderr: WritableStreamBuffer);
|
|
47
47
|
/**
|
|
48
48
|
* spawns process to kick of wdio-runner
|
|
49
49
|
*/
|
package/build/worker.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../src/worker.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,oBAAoB,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../src/worker.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,oBAAoB,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAmB1C;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,YAAa,YAAW,OAAO,CAAC,MAAM;IAC9E,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,WAAW,CAAC,MAAM,CAAA;IAC1B,UAAU,EAAE,MAAM,CAAA;IAElB,IAAI,EAAE,WAAW,CAAC,YAA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,EAAE,IAAI,EAAE,OAAO,CAAC,iBAAiB,EAAE,aAAa,UAAQ,GAAG,IAAI;CA0B9F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/local-runner",
|
|
3
|
-
"version": "9.12.
|
|
3
|
+
"version": "9.12.7",
|
|
4
4
|
"description": "A WebdriverIO runner to run tests locally",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-local-runner",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@types/node": "^20.1.0",
|
|
40
40
|
"@wdio/logger": "9.4.4",
|
|
41
41
|
"@wdio/repl": "9.4.4",
|
|
42
|
-
"@wdio/runner": "9.12.
|
|
43
|
-
"@wdio/types": "9.12.
|
|
42
|
+
"@wdio/runner": "9.12.7",
|
|
43
|
+
"@wdio/types": "9.12.6",
|
|
44
44
|
"async-exit-hook": "^2.0.1",
|
|
45
45
|
"split2": "^4.1.0",
|
|
46
46
|
"stream-buffers": "^3.0.2"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "e5cf99fcaae6f2c7ca3592e3d6974f2949dc7aad"
|
|
56
56
|
}
|