Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/eslint-plugin-fiori-tools-oom-fix-v2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sap-ux/eslint-plugin-fiori-tools": patch
Comment thread
longieirl marked this conversation as resolved.
Outdated
---

fix(eslint-plugin-fiori-tools): fix heap OOM on macos Node 20 arm64 by switching to jest coverageProvider v8
3 changes: 1 addition & 2 deletions packages/eslint-plugin-fiori-tools/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const config = require('../../jest.base');
module.exports = {
...config,
// Coverage is handled by c8 wrapper for worker thread support
collectCoverage: false,
coverageProvider: 'v8',
Comment thread
longieirl marked this conversation as resolved.
setupFiles: ['<rootDir>/test/global-setup.ts']
}
3 changes: 1 addition & 2 deletions packages/eslint-plugin-fiori-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
"lint": "eslint",
"lint:fix": "eslint --fix",
"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"
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --ci --forceExit --detectOpenHandles --colors --maxWorkers=50%"
},
"devDependencies": {
"c8": "^11.0.0",
"cross-env": "10.1.0",
"eslint": "9.39.1",
"@typescript-eslint/rule-tester": "8.57.2",
Expand Down