tests - - max-old-space-size increased to avoid OoM
MODIFY
package.json
package.json
"test:transaction": "npm run test:jest -- test/**/TransactionTest.ts",
"test:template": "npm run test:jest -- test/**/UnitTestTemplate.ts",
"test:user": "npm run test:jest -- test/**/UserTest.ts",
- "test:jest": "npm version && cross-env TS_NODE_FILES=true jest --config='./test/jest.config.ts' --runInBand --logHeapUsage --verbose --colors --silent --forceExit"
+ "test:jest": "npm version && cross-env cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" TS_NODE_FILES=true jest --config='./test/jest.config.ts' --runInBand --logHeapUsage --verbose --colors --silent --forceExit"
},
"dependencies": {
"ajv": "^8.11.0",

tests - - max-old-space-size increased to avoid OoM