diff --git a/package.json b/package.json index a4d7d3ada..bc2d27009 100644 --- a/package.json +++ b/package.json @@ -22,11 +22,11 @@ "test:forge": "forge test", "test": "yarn run test:unit", "test-sequential": "yarn run test:unit-sequential", - "test:unit": "hardhat test --parallel --network hardhat", - "test:unit-sequential": "hardhat test --network hardhat", - "test:gas": "REPORT_GAS=true hardhat test --network hardhat", + "test:unit": "yarn compile && hardhat test --parallel --network hardhat", + "test:unit-sequential": "yarn compile && hardhat test --network hardhat", + "test:gas": "yarn compile && REPORT_GAS=true hardhat test --network hardhat", "test:coverage": "yarn compile && hardhat coverage --testfiles test", - "test:e2e": "npm run compile && ava -T 1000000 -v", + "test:e2e": "yarn compile && ava -T 1000000 -v", "estimate-deposit-loop-gas": "yarn run test:unit ./estimate_deposit_loop_gas.js", "compile": "hardhat compile && yarn extract-abi", "clean": "hardhat clean",