diff --git a/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch b/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch new file mode 100644 index 0000000000..e1a005f528 --- /dev/null +++ b/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch @@ -0,0 +1,13 @@ +diff --git a/build/browser/setup.js b/build/browser/setup.js +index 59dd12246f2307beb3547b79484485d5fd4a34e3..fbe3c9505498d12cdc40ba651b1dfe7d8b10d036 100644 +--- a/build/browser/setup.js ++++ b/build/browser/setup.js +@@ -293,7 +293,7 @@ sendTestReport_fn = function(value) { + }; + var template = document.createElement("template"); + template.innerHTML = /*html*/ +-'\n\n
\n
\n
\n \n
\n'; ++'\n\n
\n
\n
\n \n
\n'; + customElements.define("mocha-framework", MochaFramework); + + // src/browser/setup.ts diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index d37b144d1c..e05fe6eeb4 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -128,7 +128,7 @@ "@types/tar-stream": "^3.1.1", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^6.21.0", - "@wdio/browser-runner": "^9.1.6", + "@wdio/browser-runner": "patch:@wdio/browser-runner@npm%3A9.1.6#~/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch", "@wdio/cli": "^9.1.5", "@wdio/globals": "^9.1.5", "@wdio/mocha-framework": "^9.1.3", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index a7f0610856..3201f590cb 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -98,7 +98,7 @@ "@types/node": "18.14.2", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^6.21.0", - "@wdio/browser-runner": "^9.1.6", + "@wdio/browser-runner": "patch:@wdio/browser-runner@npm%3A9.1.6#~/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch", "@wdio/cli": "^9.1.5", "@wdio/globals": "^9.1.5", "@wdio/mocha-framework": "^9.1.3", diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index 11c41a2c7d..51cbd08e06 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -121,7 +121,7 @@ "@types/validate-npm-package-name": "^4.0.0", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^6.21.0", - "@wdio/browser-runner": "^9.1.6", + "@wdio/browser-runner": "patch:@wdio/browser-runner@npm%3A9.1.6#~/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch", "@wdio/cli": "^9.1.5", "@wdio/globals": "^9.1.5", "@wdio/mocha-framework": "^9.1.3", diff --git a/yarn.lock b/yarn.lock index adfea9ee6f..53d36d6614 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6111,7 +6111,7 @@ __metadata: "@types/tar-stream": "npm:^3.1.1" "@typescript-eslint/eslint-plugin": "npm:^5.42.1" "@typescript-eslint/parser": "npm:^6.21.0" - "@wdio/browser-runner": "npm:^9.1.6" + "@wdio/browser-runner": "patch:@wdio/browser-runner@npm%3A9.1.6#~/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch" "@wdio/cli": "npm:^9.1.5" "@wdio/globals": "npm:^9.1.5" "@wdio/mocha-framework": "npm:^9.1.3" @@ -6198,7 +6198,7 @@ __metadata: "@types/node": "npm:18.14.2" "@typescript-eslint/eslint-plugin": "npm:^5.42.1" "@typescript-eslint/parser": "npm:^6.21.0" - "@wdio/browser-runner": "npm:^9.1.6" + "@wdio/browser-runner": "patch:@wdio/browser-runner@npm%3A9.1.6#~/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch" "@wdio/cli": "npm:^9.1.5" "@wdio/globals": "npm:^9.1.5" "@wdio/mocha-framework": "npm:^9.1.3" @@ -6635,7 +6635,7 @@ __metadata: "@types/validate-npm-package-name": "npm:^4.0.0" "@typescript-eslint/eslint-plugin": "npm:^5.42.1" "@typescript-eslint/parser": "npm:^6.21.0" - "@wdio/browser-runner": "npm:^9.1.6" + "@wdio/browser-runner": "patch:@wdio/browser-runner@npm%3A9.1.6#~/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch" "@wdio/cli": "npm:^9.1.5" "@wdio/globals": "npm:^9.1.5" "@wdio/mocha-framework": "npm:^9.1.3" @@ -9235,7 +9235,7 @@ __metadata: languageName: node linkType: hard -"@wdio/browser-runner@npm:^9.1.6": +"@wdio/browser-runner@npm:9.1.6": version: 9.1.6 resolution: "@wdio/browser-runner@npm:9.1.6" dependencies: @@ -9288,6 +9288,59 @@ __metadata: languageName: node linkType: hard +"@wdio/browser-runner@patch:@wdio/browser-runner@npm%3A9.1.6#~/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch": + version: 9.1.6 + resolution: "@wdio/browser-runner@patch:@wdio/browser-runner@npm%3A9.1.6#~/.yarn/patches/@wdio-browser-runner-npm-9.1.6-41633725a3.patch::version=9.1.6&hash=bd935c" + dependencies: + "@nuxt/kit": "npm:^3.12.4" + "@originjs/vite-plugin-commonjs": "npm:^1.0.3" + "@stencil/core": "npm:^4.20.0" + "@types/istanbul-lib-source-maps": "npm:^4.0.4" + "@vitest/spy": "npm:^2.0.4" + "@wdio/globals": "npm:9.1.5" + "@wdio/local-runner": "npm:9.1.5" + "@wdio/logger": "npm:9.1.3" + "@wdio/mocha-framework": "npm:9.1.3" + "@wdio/protocols": "npm:9.0.8" + "@wdio/runner": "npm:9.1.5" + "@wdio/types": "npm:9.1.3" + "@wdio/utils": "npm:9.1.3" + deepmerge-ts: "npm:^7.0.3" + expect: "npm:30.0.0-alpha.6" + expect-webdriverio: "npm:^5.0.1" + get-port: "npm:^7.1.0" + import-meta-resolve: "npm:^4.0.0" + istanbul-lib-coverage: "npm:^3.2.2" + istanbul-lib-report: "npm:^3.0.1" + istanbul-lib-source-maps: "npm:^5.0.4" + istanbul-reports: "npm:^3.1.7" + mlly: "npm:^1.6.1" + modern-node-polyfills: "npm:^1.0.0" + recast: "npm:^0.23.6" + safe-stringify: "npm:^1.1.0" + source-map-support: "npm:^0.5.21" + unimport: "npm:^3.10.0" + vite: "npm:~5.4.0" + vite-plugin-istanbul: "npm:^6.0.0" + vite-plugin-top-level-await: "npm:^1.4.1" + webdriver: "npm:9.1.5" + webdriverio: "npm:9.1.5" + peerDependencies: + mocha: ^10.7.3 + dependenciesMeta: + "@nuxt/kit": + optional: true + "@stencil/core": + optional: true + unimport: + optional: true + peerDependenciesMeta: + mocha: + optional: false + checksum: 10/2e738ee5439ea5ea399987f7eb1384449174eea6297f40efa4fccf2786f320d4b238782fe25606d48205faef52b418569e9dc37396f35635ff6e677b1e4ff9f1 + languageName: node + linkType: hard + "@wdio/cli@npm:^9.1.5": version: 9.1.5 resolution: "@wdio/cli@npm:9.1.5"