diff --git a/dev/testv2/cypress.config.js b/dev/testv2/cypress.config.js index eecbf05..1d6f87c 100644 --- a/dev/testv2/cypress.config.js +++ b/dev/testv2/cypress.config.js @@ -22,8 +22,8 @@ module.exports = defineConfig({ launchOptions.args.push("--disable-gl-drawing-for-tests"); launchOptions.args.push("--disable-gpu"); } - launchOptions.args.push("--js-flags=--max-old-space-size=3500"); } + launchOptions.args.push("--js-flags=--max-old-space-size=3500"); return launchOptions; }); diff --git a/dev/testv2/package.json b/dev/testv2/package.json index 5a561aa..c896cee 100644 --- a/dev/testv2/package.json +++ b/dev/testv2/package.json @@ -5,7 +5,7 @@ "scripts": { "postinstall": "if [ -d \"./../../.git\" ]; then npm run copy-git-hooks; fi", "test": "npm run mocha && npm run code-style", - "e2e": "cypress run --browser chrome --headless", + "e2e": "cypress run --browser electron --headless", "e2e:ci": "cypress run --browser electron --headless --record --key 80ddf60c-0dca-4075-8074-31207092e038", "e2e:debug": "DEBUG=cypress:* cypress run --browser electron --headless", "quick-test": "npm run mocha",