Skip to content

Commit

Permalink
Merge pull request #121 from oceanbase/dengfuping-bugfix
Browse files Browse the repository at this point in the history
fix(test): Set NODE_OPTIONS=--max_old_space_size=4096 for jest
  • Loading branch information
dengfuping authored Sep 5, 2023
2 parents 9899353 + ac527ff commit 740f14e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"start": "npm run dev",
"postpublish": "npm run sync:other-npm",
"sync:other-npm": "node -e 'require(\"./scripts/sync-cnpm-and-tnpm\")()'",
"test": "cross-env TZ=UTC jest",
"test:coverage": "cross-env TZ=UTC TEST_LOG=none jest --coverage",
"test:update": "cross-env TZ=UTC jest --updateSnapshot",
"test": "NODE_OPTIONS=--max_old_space_size=4096 cross-env TZ=UTC jest",
"test:coverage": "NODE_OPTIONS=--max_old_space_size=4096 cross-env TZ=UTC TEST_LOG=none jest --coverage",
"test:update": "NODE_OPTIONS=--max_old_space_size=4096 cross-env TZ=UTC jest --updateSnapshot",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix --format=pretty",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
Expand Down

0 comments on commit 740f14e

Please sign in to comment.