@wdio/browser-runner 8.26.1 → 8.26.3

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.
@@ -190,7 +190,7 @@ export function mockHoisting(mockHandler) {
190
190
  */
191
191
  if (!isSpecFile || isMockedModule) {
192
192
  const newNode = b.importDeclaration([b.importNamespaceSpecifier(b.identifier(newImportIdentifier))], b.literal(source));
193
- nodePath.insertBefore(newNode);
193
+ mockCalls.unshift(newNode);
194
194
  }
195
195
  // determine file extension length so we can cut it out, fall back to infinity if no extension is set
196
196
  const mockExtensionLengh = (path.extname(source).length * -1) || Infinity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/browser-runner",
3
- "version": "8.26.1",
3
+ "version": "8.26.3",
4
4
  "description": "A WebdriverIO runner to run unit tests tests in the browser.",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-browser-runner",
@@ -35,13 +35,13 @@
35
35
  "@types/istanbul-lib-source-maps": "^4.0.1",
36
36
  "@types/node": "^20.1.0",
37
37
  "@vitest/spy": "^1.0.1",
38
- "@wdio/globals": "8.26.1",
39
- "@wdio/local-runner": "8.26.1",
38
+ "@wdio/globals": "8.26.3",
39
+ "@wdio/local-runner": "8.26.3",
40
40
  "@wdio/logger": "8.24.12",
41
- "@wdio/mocha-framework": "8.24.12",
41
+ "@wdio/mocha-framework": "8.26.3",
42
42
  "@wdio/protocols": "8.24.12",
43
- "@wdio/types": "8.24.12",
44
- "@wdio/utils": "8.24.12",
43
+ "@wdio/types": "8.26.3",
44
+ "@wdio/utils": "8.26.3",
45
45
  "ast-types": "^0.14.2",
46
46
  "deepmerge-ts": "^5.0.0",
47
47
  "expect-webdriverio": "^4.6.1",
@@ -60,8 +60,8 @@
60
60
  "vite": "~4.5.0",
61
61
  "vite-plugin-istanbul": "^5.0.0",
62
62
  "vite-plugin-top-level-await": "^1.3.0",
63
- "webdriver": "8.24.12",
64
- "webdriverio": "8.26.1",
63
+ "webdriver": "8.26.3",
64
+ "webdriverio": "8.26.3",
65
65
  "ws": "^8.13.0"
66
66
  },
67
67
  "scripts": {
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "devDependencies": {
74
74
  "@types/ws": "^8.5.4",
75
- "@wdio/runner": "8.26.1"
75
+ "@wdio/runner": "8.26.3"
76
76
  },
77
- "gitHead": "32edffa6d409b7d14c0278ae3626971bf6de63eb"
77
+ "gitHead": "284ce5591d90d9ea5f591e977d04557fd9ec4011"
78
78
  }