Skip to content

Commit 2d372b0

Browse files
committed
chore(test): remove unnecessary memory allocation settings
Memory issue was caused by LinterDetector.test.ts, not vitest itself.
1 parent 6d2bd4d commit 2d372b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"build": "tsc",
1212
"dev": "tsx watch src/cli/index.ts",
1313
"start": "node dist/cli/index.js",
14-
"test": "NODE_OPTIONS='--max-old-space-size=4096' vitest run",
15-
"test:watch": "NODE_OPTIONS='--max-old-space-size=4096' vitest",
16-
"test:coverage": "NODE_OPTIONS='--max-old-space-size=4096' vitest run --coverage",
14+
"test": "vitest run",
15+
"test:watch": "vitest",
16+
"test:coverage": "vitest run --coverage",
1717
"test:bench": "vitest bench",
1818
"lint": "eslint . --ext .ts,.tsx",
1919
"prepare": "husky",

0 commit comments

Comments
 (0)