We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5604476 commit caf38cfCopy full SHA for caf38cf
scripts/test
@@ -13,7 +13,7 @@ evm_running() {
13
14
evm_start() {
15
echo "Starting our own evm instance at port $TESTRPC_PORT"
16
- npx ganache-cli -m "$MNEMONIC" -i 1337 --gasLimit 8000000 --port "$TESTRPC_PORT" > /dev/null &
+ npx hardhat node --port "$TESTRPC_PORT" > /dev/null &
17
}
18
19
evm_kill() {
@@ -40,13 +40,8 @@ fi
40
41
mkdir -p reports
42
43
-if [ "$RUN_EVM" = true ]; then
44
- # Run using the standalone evm instance
45
- npx hardhat test --network ganache
46
-else
47
- # Run using the default evm
48
- npx hardhat test "$@"
49
-fi
+# Run using the standalone evm instance
+npx hardhat test --network hardhat
50
51
### Cleanup
52
0 commit comments