Skip to content

Commit d997186

Browse files
committed
Format NODE_OPTIONS for readability in test-wrapper
1 parent 743d941 commit d997186

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/test-wrapper.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ async function main() {
6767
// Increase Node.js heap size to prevent out of memory errors.
6868
// Use 8GB in CI, 4GB locally.
6969
// Add --max-semi-space-size for better GC with RegExp-heavy tests.
70-
NODE_OPTIONS: `${process.env.NODE_OPTIONS || ''} --max-old-space-size=${process.env.CI ? 8192 : 4096} --max-semi-space-size=512`.trim(),
70+
NODE_OPTIONS:
71+
`${process.env.NODE_OPTIONS || ''} --max-old-space-size=${process.env.CI ? 8192 : 4096} --max-semi-space-size=512`.trim(),
7172
}
7273

7374
// Handle Windows vs Unix for vitest executable.

0 commit comments

Comments
 (0)