Skip to content

Commit 4bc4c4b

Browse files
authored
fix(eslint-plugin-fiori-tools): resolve heap OOM on macos Node 20 arm64 (#4566)
Add --merge-async to c8 to incrementally merge V8 coverage files (avoids loading 269MB of coverage data into memory at once) and --maxWorkers=2 to cap Jest parallelism, reducing duplicate V8 script contexts created by --experimental-vm-modules. Fixes #4545
1 parent bf0c961 commit 4bc4c4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/eslint-plugin-fiori-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
2121
"lint": "eslint",
2222
"lint:fix": "eslint --fix",
23-
"test": "c8 --reporter=text --reporter=lcov --exclude='test/**' --exclude='**/*.test.ts' --include='src/**/*.ts' cross-env NODE_OPTIONS='--experimental-vm-modules' jest --ci --forceExit --detectOpenHandles --colors"
23+
"test": "c8 --reporter=text --reporter=lcov --merge-async --exclude='test/**' --exclude='**/*.test.ts' --include='src/**/*.ts' cross-env NODE_OPTIONS='--experimental-vm-modules' jest --ci --forceExit --detectOpenHandles --colors --maxWorkers=2"
2424
},
2525
"devDependencies": {
2626
"c8": "^11.0.0",

0 commit comments

Comments
 (0)