Skip to content

Commit b1b9056

Browse files
wkillerudFRSgit
andauthored
fix: return launchOptions so they are applied (#186)
Co-authored-by: Jakub Freisler <[email protected]>
1 parent 95982cf commit b1b9056

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const initForceDeviceScaleFactor = (on: Cypress.PluginEvents) => {
88
if (browser.name === "chrome" || browser.name === "chromium") {
99
launchOptions.args.push("--force-device-scale-factor=1");
1010
launchOptions.args.push("--high-dpi-support=1");
11+
return launchOptions;
1112
} else if (browser.name === "electron" && browser.isHeaded) {
1213
// eslint-disable-next-line no-console
1314
console.log(

0 commit comments

Comments
 (0)