From a5a435395e82142cf7423eca6bf938876da491b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deli-Szab=C3=B3=20S=C3=A1ndor?= Date: Fri, 12 Jul 2024 17:04:55 +0200 Subject: [PATCH] EMA-150 auto test memory optimizing --- dev/testv2/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/testv2/package.json b/dev/testv2/package.json index c896cee..969ed19 100644 --- a/dev/testv2/package.json +++ b/dev/testv2/package.json @@ -5,8 +5,8 @@ "scripts": { "postinstall": "if [ -d \"./../../.git\" ]; then npm run copy-git-hooks; fi", "test": "npm run mocha && npm run code-style", - "e2e": "cypress run --browser electron --headless", - "e2e:ci": "cypress run --browser electron --headless --record --key 80ddf60c-0dca-4075-8074-31207092e038", + "e2e": "ENV NODE_OPTIONS=\"--max-old-space-size=4096\" && cypress run --browser electron --headless", + "e2e:ci": "ENV NODE_OPTIONS=\"--max-old-space-size=4096\" && 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", "mocha": "./node_modules/mocha/bin/mocha.js --exit --timeout 120000 --colors ./setup.spec.js './!(node_modules|cypress)/**/*.spec.js'",