Skip to content

Commit 4826654

Browse files
authored
Fix envvar setting for test and coverage (#5392)
1 parent 03e06bf commit 4826654

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"prepack": "scripts/prepack.sh",
2626
"generate": "scripts/generate/run.js",
2727
"version": "scripts/release/version.sh",
28-
"test": "scripts/set-max-old-space-size.sh && hardhat test",
28+
"test": ". scripts/set-max-old-space-size.sh && hardhat test",
2929
"test:generation": "scripts/checks/generation.sh",
3030
"test:inheritance": "scripts/checks/inheritance-ordering.js artifacts/build-info/*",
3131
"test:pragma": "scripts/checks/pragma-consistency.js artifacts/build-info/*",

scripts/checks/coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -euo pipefail
55
export COVERAGE=true
66
export FOUNDRY_FUZZ_RUNS=10
77

8-
scripts/set-max-old-space-size.sh
8+
. scripts/set-max-old-space-size.sh
99

1010
# Hardhat coverage
1111
hardhat coverage

0 commit comments

Comments
 (0)