Skip to content

Commit

Permalink
Fix envvar setting for test and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Dec 19, 2024
1 parent 03e06bf commit 42ff556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"prepack": "scripts/prepack.sh",
"generate": "scripts/generate/run.js",
"version": "scripts/release/version.sh",
"test": "scripts/set-max-old-space-size.sh && hardhat test",
"test": ". scripts/set-max-old-space-size.sh && echo $NODE_OPTIONS && hardhat test",
"test:generation": "scripts/checks/generation.sh",
"test:inheritance": "scripts/checks/inheritance-ordering.js artifacts/build-info/*",
"test:pragma": "scripts/checks/pragma-consistency.js artifacts/build-info/*",
Expand Down
2 changes: 1 addition & 1 deletion scripts/checks/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
export COVERAGE=true
export FOUNDRY_FUZZ_RUNS=10

scripts/set-max-old-space-size.sh
. scripts/set-max-old-space-size.sh

# Hardhat coverage
hardhat coverage
Expand Down

0 comments on commit 42ff556

Please sign in to comment.