From 99f770704f6a47ad91bb43d440e0cd85ed1fe541 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 10 Jul 2024 20:04:24 +0200 Subject: [PATCH] test: use more memory in curriculum tests (#55463) --- curriculum/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/package.json b/curriculum/package.json index 45b40b6b0b3..504b1214d14 100644 --- a/curriculum/package.json +++ b/curriculum/package.json @@ -35,8 +35,8 @@ "reorder-tasks": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/reorder-tasks", "update-challenge-order": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/update-challenge-order", "update-step-titles": "CALLING_DIR=$INIT_CWD ts-node --project ../tsconfig.json ../tools/challenge-helper-scripts/update-step-titles", - "test": "ts-node ./node_modules/mocha/bin/mocha.js --delay --exit --reporter progress --bail", - "test:full-output": "FULL_OUTPUT=true ts-node ./node_modules/mocha/bin/mocha.js --delay --reporter progress" + "test": "NODE_OPTIONS='--max-old-space-size=7168' ts-node ./node_modules/mocha/bin/mocha.js --delay --exit --reporter progress --bail", + "test:full-output": "NODE_OPTIONS='--max-old-space-size=7168' FULL_OUTPUT=true ts-node ./node_modules/mocha/bin/mocha.js --delay --reporter progress" }, "devDependencies": { "@babel/core": "7.23.7",