@wdio/browserstack-service 7.37.0 → 7.37.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.
@@ -621,7 +621,7 @@ class _InsightsHandler {
621
621
  }
622
622
  testData.finished_at = (new Date()).toISOString();
623
623
  testData.result = result;
624
- testData.duration_in_ms = world.result.duration.nanos / 1000000; // send duration in ms
624
+ testData.duration_in_ms = world.result.duration.seconds * 1000 + world.result.duration.nanos / 1000000; // send duration in ms
625
625
  if (result === 'failed') {
626
626
  testData.failure = [
627
627
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/browserstack-service",
3
- "version": "7.37.0",
3
+ "version": "7.37.1",
4
4
  "description": "WebdriverIO service for better Browserstack integration",
5
5
  "author": "Adam Bjerstedt <abjerstedt@gmail.com>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-browserstack-service",
@@ -47,5 +47,5 @@
47
47
  "access": "public"
48
48
  },
49
49
  "types": "./build/index.d.ts",
50
- "gitHead": "50c68b3ddd553afffe6d8379c4fbe9c6e90646bf"
50
+ "gitHead": "fd9fb4f36ab4870fd3ff3f3a1ac14cbb947ca35b"
51
51
  }