@wdio/sauce-service 8.1.0 → 8.1.2

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.
@@ -23,7 +23,7 @@ export default class SauceService implements Services.ServiceInstance {
23
23
  beforeSession(config: Options.Testrunner, __: never, ___: never, cid: string): void;
24
24
  before(caps: unknown, specs: string[], browser: Browser<'async'> | MultiRemoteBrowser<'async'>): void;
25
25
  beforeSuite(suite: Frameworks.Suite): Promise<void>;
26
- beforeTest(test: Frameworks.Test): Promise<any>;
26
+ beforeTest(test: Frameworks.Test): Promise<unknown>;
27
27
  afterSuite(suite: Frameworks.Suite): void;
28
28
  private _reportErrorLog;
29
29
  afterTest(test: Frameworks.Test, context: unknown, results: Frameworks.TestResult): void;
@@ -33,13 +33,13 @@ export default class SauceService implements Services.ServiceInstance {
33
33
  */
34
34
  beforeFeature(uri: unknown, feature: {
35
35
  name: string;
36
- }): Promise<any>;
36
+ }): Promise<unknown>;
37
37
  /**
38
38
  * Runs before a Cucumber Scenario.
39
39
  * @param world world object containing information on pickle and test step
40
40
  */
41
- beforeScenario(world: Frameworks.World): Promise<any> | undefined;
42
- beforeStep(step: Frameworks.PickleStep): Promise<any>;
41
+ beforeScenario(world: Frameworks.World): Promise<unknown> | undefined;
42
+ beforeStep(step: Frameworks.PickleStep): Promise<unknown>;
43
43
  /**
44
44
  * Runs after a Cucumber Scenario.
45
45
  * @param world world object containing information on pickle and test step
@@ -52,7 +52,7 @@ export default class SauceService implements Services.ServiceInstance {
52
52
  /**
53
53
  * update Sauce Labs job
54
54
  */
55
- after(result: number): Promise<any>;
55
+ after(result: number): Promise<unknown>;
56
56
  /**
57
57
  * upload files to Sauce Labs platform
58
58
  * @param jobId id of the job
@@ -68,7 +68,7 @@ export default class SauceService implements Services.ServiceInstance {
68
68
  /**
69
69
  * Update the running Sauce Labs Job with an annotation
70
70
  */
71
- setAnnotation(annotation: string): Promise<any>;
71
+ setAnnotation(annotation: string): Promise<unknown>;
72
72
  private _setJobName;
73
73
  }
74
74
  //# sourceMappingURL=service.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/sauce-service",
3
- "version": "8.1.0",
3
+ "version": "8.1.2",
4
4
  "description": "WebdriverIO service that provides a better integration into Sauce Labs",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-sauce-service",
@@ -28,11 +28,11 @@
28
28
  "typeScriptVersion": "3.8.3",
29
29
  "dependencies": {
30
30
  "@wdio/logger": "8.1.0",
31
- "@wdio/types": "8.1.0",
32
- "@wdio/utils": "8.1.0",
31
+ "@wdio/types": "8.1.2",
32
+ "@wdio/utils": "8.1.2",
33
33
  "ip": "^1.1.8",
34
34
  "saucelabs": "^7.1.3",
35
- "webdriverio": "8.0.2"
35
+ "webdriverio": "8.1.2"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/ip": "^1.1.0"
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "f505134606f99129c816acb00f22e39032e60820"
43
+ "gitHead": "14625257acfd6081b4c9914b214110c0c7bf7218"
44
44
  }