Skip to content

Commit 502a8b1

Browse files
committed
Upping memory limit for server tests.
1 parent b94049a commit 502a8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
1515
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",
1616
"postbuild": "copyfiles -u 1 src/**/*.svelte dist/ && copyfiles -u 1 src/**/*.hbs dist/ && copyfiles -u 1 src/**/*.json dist/",
17-
"test": "bash scripts/test.sh",
17+
"test": "NODE_OPTIONS=\"--max-old-space-size=4096\" bash scripts/test.sh",
1818
"test:memory": "jest --maxWorkers=2 --logHeapUsage --forceExit",
1919
"test:watch": "jest --watch",
2020
"predocker": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client",

0 commit comments

Comments
 (0)