@wdio/browser-runner 8.2.2 → 8.2.4
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/browser/mock.d.ts +1 -0
- package/build/browser/mock.d.ts.map +1 -1
- package/build/browser/mock.js +1 -0
- package/build/vite/constants.d.ts.map +1 -1
- package/build/vite/constants.js +0 -6
- package/build/vite/plugins/testrunner.js +1 -1
- package/build/vite/utils.d.ts.map +1 -1
- package/build/vite/utils.js +7 -0
- package/package.json +9 -10
package/build/browser/mock.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare const pathToFileURL: () => string;
|
|
|
19
19
|
export declare const fileURLToPath: () => string;
|
|
20
20
|
export declare const dirname: () => string;
|
|
21
21
|
export declare const resolve: () => string;
|
|
22
|
+
export declare const sep = "/";
|
|
22
23
|
declare const _default: () => void;
|
|
23
24
|
export default _default;
|
|
24
25
|
//# sourceMappingURL=mock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../src/browser/mock.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,aAAa;;;CAIzB,CAAA;AAED,eAAO,MAAM,iBAAiB,SAAK,CAAA;AACnC,eAAO,MAAM,eAAe,IAAK,CAAA;AACjC,qBAAa,YAAY;CAAG;AAC5B,eAAO,MAAM,GAAG;;;;;CAAa,CAAA;AAC7B,eAAO,MAAM,aAAa,cAAW,CAAA;AACrC,eAAO,MAAM,aAAa,cAAW,CAAA;AACrC,eAAO,MAAM,OAAO,cAAW,CAAA;AAC/B,eAAO,MAAM,OAAO,cAAW,CAAA
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../src/browser/mock.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,aAAa;;;CAIzB,CAAA;AAED,eAAO,MAAM,iBAAiB,SAAK,CAAA;AACnC,eAAO,MAAM,eAAe,IAAK,CAAA;AACjC,qBAAa,YAAY;CAAG;AAC5B,eAAO,MAAM,GAAG;;;;;CAAa,CAAA;AAC7B,eAAO,MAAM,aAAa,cAAW,CAAA;AACrC,eAAO,MAAM,aAAa,cAAW,CAAA;AACrC,eAAO,MAAM,OAAO,cAAW,CAAA;AAC/B,eAAO,MAAM,OAAO,cAAW,CAAA;AAC/B,eAAO,MAAM,GAAG,MAAM,CAAA;;AACtB,wBAAuB"}
|
package/build/browser/mock.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/vite/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/vite/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAgB1F,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,YAAY,CAmBrD,CAAA"}
|
package/build/vite/constants.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import topLevelAwait from 'vite-plugin-top-level-await';
|
|
2
2
|
import { esbuildCommonjs } from '@originjs/vite-plugin-commonjs';
|
|
3
|
-
import { NodeGlobalsPolyfillPlugin } from '@esbuild-plugins/node-globals-polyfill';
|
|
4
3
|
export const PRESET_DEPENDENCIES = {
|
|
5
4
|
react: ['@vitejs/plugin-react', 'default', {
|
|
6
5
|
babel: {
|
|
@@ -33,11 +32,6 @@ export const DEFAULT_VITE_CONFIG = {
|
|
|
33
32
|
},
|
|
34
33
|
// Enable esbuild polyfill plugins
|
|
35
34
|
plugins: [
|
|
36
|
-
// @ts-expect-error see https://github.com/webdriverio/webdriverio/pull/9593
|
|
37
|
-
NodeGlobalsPolyfillPlugin({
|
|
38
|
-
process: true,
|
|
39
|
-
buffer: true
|
|
40
|
-
}),
|
|
41
35
|
esbuildCommonjs(['@testing-library/vue'])
|
|
42
36
|
],
|
|
43
37
|
},
|
|
@@ -33,7 +33,7 @@ const FETCH_FROM_ESM = [
|
|
|
33
33
|
'mocha'
|
|
34
34
|
];
|
|
35
35
|
export function testrunner(options) {
|
|
36
|
-
const automationProtocolPath = path.resolve(__dirname, '..', '..', 'browser', 'driver.js')
|
|
36
|
+
const automationProtocolPath = `/@fs${url.pathToFileURL(path.resolve(__dirname, '..', '..', 'browser', 'driver.js')).pathname}`;
|
|
37
37
|
const mockModulePath = path.resolve(__dirname, '..', '..', 'browser', 'mock.js');
|
|
38
38
|
const setupModulePath = path.resolve(__dirname, '..', '..', 'browser', 'setup.js');
|
|
39
39
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/vite/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE/D,wBAAsB,WAAW,CAAE,OAAO,EAAE,WAAW,CAAC,oBAAoB,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/vite/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE/D,wBAAsB,WAAW,CAAE,OAAO,EAAE,WAAW,CAAC,oBAAoB,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,mBAoE3G;AAED,wBAAsB,kBAAkB,CAAE,MAAM,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM,gBAa9E;AAED,wBAAgB,gBAAgB,CAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,UAU/D"}
|
package/build/vite/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/browser-runner",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.4",
|
|
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",
|
|
@@ -28,16 +28,15 @@
|
|
|
28
28
|
"typeScriptVersion": "3.8.3",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
31
|
-
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
|
|
32
31
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
33
32
|
"@types/node": "^18.11.18",
|
|
34
|
-
"@wdio/globals": "8.2.
|
|
35
|
-
"@wdio/local-runner": "8.2.
|
|
33
|
+
"@wdio/globals": "8.2.4",
|
|
34
|
+
"@wdio/local-runner": "8.2.4",
|
|
36
35
|
"@wdio/logger": "8.1.0",
|
|
37
|
-
"@wdio/mocha-framework": "8.2.
|
|
36
|
+
"@wdio/mocha-framework": "8.2.3",
|
|
38
37
|
"@wdio/protocols": "8.2.0",
|
|
39
38
|
"@wdio/types": "8.1.2",
|
|
40
|
-
"@wdio/utils": "8.2.
|
|
39
|
+
"@wdio/utils": "8.2.3",
|
|
41
40
|
"deepmerge-ts": "^4.2.2",
|
|
42
41
|
"expect-webdriverio": "^4.1.0",
|
|
43
42
|
"fast-safe-stringify": "^2.1.1",
|
|
@@ -46,8 +45,8 @@
|
|
|
46
45
|
"serialize-error": "^11.0.0",
|
|
47
46
|
"vite": "^4.0.4",
|
|
48
47
|
"vite-plugin-top-level-await": "^1.2.2",
|
|
49
|
-
"webdriver": "8.2.
|
|
50
|
-
"webdriverio": "8.2.
|
|
48
|
+
"webdriver": "8.2.3",
|
|
49
|
+
"webdriverio": "8.2.4",
|
|
51
50
|
"ws": "^8.12.0"
|
|
52
51
|
},
|
|
53
52
|
"scripts": {
|
|
@@ -58,7 +57,7 @@
|
|
|
58
57
|
},
|
|
59
58
|
"devDependencies": {
|
|
60
59
|
"@types/ws": "^8.5.4",
|
|
61
|
-
"@wdio/runner": "8.2.
|
|
60
|
+
"@wdio/runner": "8.2.4"
|
|
62
61
|
},
|
|
63
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "eba541a77dbc42173717e1c106a7c4d3ccb198f5"
|
|
64
63
|
}
|