Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanson committed Jan 2, 2025
1 parent db174e1 commit 4834f11
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/vite-app/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ export default defineConfig({
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
// https://docs.cypress.io/api/node-events/browser-launch-api
on('before:browser:launch', (browser, launchOptions) => {
if (browser.family === 'chromium' && browser.name !== 'electron') {
on("before:browser:launch", (browser, launchOptions) => {
if (browser.family === "chromium" && browser.name !== "electron") {
// https://developer.mozilla.org/en-US/docs/Web/API/EcdsaParams
// From version 113: Ed25519 algorithm is behind the #enable-experimental-web-platform-features preference
launchOptions.args.push('--enable-experimental-web-platform-features')
launchOptions.args.push(
"--enable-experimental-web-platform-features"
);

return launchOptions
return launchOptions;
}
})
});
// eslint-disable-next-line @typescript-eslint/no-var-requires
return require("./cypress/plugins/index.js")(on, config);
},
Expand Down

0 comments on commit 4834f11

Please sign in to comment.