@wdio/smoke-test-service 8.6.6 → 8.24.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.
package/build/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /// <reference types="node" />
1
+ /// <reference types="node" resolution-mode="require"/>
2
2
  import fs from 'node:fs';
3
3
  export default class SmokeService {
4
4
  logFile: fs.WriteStream;
@@ -15,6 +15,8 @@ export default class SmokeService {
15
15
  afterSuite(): void;
16
16
  after(): void;
17
17
  afterSession(): void;
18
+ beforeAssertion(): void;
19
+ afterAssertion(): void;
18
20
  }
19
21
  declare class SmokeServiceLauncher {
20
22
  logFile: fs.WriteStream;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,SAAS,CAAA;AAGxB,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,OAAO,EAAE,EAAE,CAAC,WAAW,CAAA;;IAIvB,aAAa;IACb,MAAM;IACN,WAAW;IACX,UAAU;IACV,SAAS;IACT,UAAU;IACV,aAAa;IACb,YAAY;IACZ,SAAS;IACT,UAAU;IACV,KAAK;IACL,YAAY;CACf;AAED,cAAM,oBAAoB;IACtB,OAAO,EAAE,EAAE,CAAC,WAAW,CAAA;;IAIvB,SAAS;IACT,aAAa;IACb,WAAW;IACX,UAAU;CACb;AAED,eAAO,MAAM,QAAQ,6BAAuB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,SAAS,CAAA;AAGxB,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,OAAO,EAAE,EAAE,CAAC,WAAW,CAAA;;IAIvB,aAAa;IACb,MAAM;IACN,WAAW;IACX,UAAU;IACV,SAAS;IACT,UAAU;IACV,aAAa;IACb,YAAY;IACZ,SAAS;IACT,UAAU;IACV,KAAK;IACL,YAAY;IACZ,eAAe;IACf,cAAc;CACjB;AAED,cAAM,oBAAoB;IACtB,OAAO,EAAE,EAAE,CAAC,WAAW,CAAA;;IAIvB,SAAS;IACT,aAAa;IACb,WAAW;IACX,UAAU;CACb;AAED,eAAO,MAAM,QAAQ,6BAAuB,CAAA"}
package/build/index.js CHANGED
@@ -17,6 +17,8 @@ export default class SmokeService {
17
17
  afterSuite() { this.logFile.write('afterSuite called\n'); } // eslint-disable-line no-console
18
18
  after() { this.logFile.write('after called\n'); } // eslint-disable-line no-console
19
19
  afterSession() { this.logFile.write('afterSession called\n'); } // eslint-disable-line no-console
20
+ beforeAssertion() { this.logFile.write('beforeAssertion called\n'); } // eslint-disable-line no-console
21
+ afterAssertion() { this.logFile.write('afterAssertion called\n'); } // eslint-disable-line no-console
20
22
  }
21
23
  class SmokeServiceLauncher {
22
24
  logFile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/smoke-test-service",
3
- "version": "8.6.6",
3
+ "version": "8.24.0",
4
4
  "description": "A WebdriverIO utility to smoke test services for internal testing purposes.",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-smoke-test-service",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "typeScriptVersion": "3.8.3",
30
30
  "dependencies": {
31
- "@types/node": "^18.0.0"
31
+ "@types/node": "^20.1.0"
32
32
  },
33
- "gitHead": "1bcac586be548a778d452e0b01c11e4097d743f4"
33
+ "gitHead": "5fe7908a837461102ada6edf71c160f2c66dd88f"
34
34
  }