💾 feat: Add Memory Configuration Options for CI unit tests

- responding to PR feedback from Copilot
This commit is contained in:
Doyle 2025-12-12 14:48:26 -05:00
parent b8fe41e59d
commit ef8f27122e
5 changed files with 12 additions and 8 deletions

View file

@ -12,4 +12,6 @@ BAN_VIOLATIONS=true
BAN_DURATION=7200000
BAN_INTERVAL=20
# NODE_MAX_OLD_SPACE_SIZE is only used as a Docker build argument.
# Node.js does NOT recognize this environment variable for heap size.
NODE_MAX_OLD_SPACE_SIZE=6144

View file

@ -16,5 +16,3 @@ process.env.ALLOW_EMAIL_LOGIN = 'true';
// This can be overridden in individual tests if needed
jest.setTimeout(30000);
process.env.OPENAI_API_KEY = 'test';
process.env.NODE_MAX_OLD_SPACE_SIZE = '6144';