File tree Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Original file line number Diff line number Diff line change 1414 "test:foundry:all" : " forge clean && forge build && forge test --ffi" ,
1515 "test:setup" : " ./scripts/setup-local-chain.sh" ,
1616 "test:run" : " ./scripts/run-tests.sh" ,
17- "test:run:foundry" : " ./scripts/run-tests.sh --with-foundry" ,
1817 "test:all" : " ./scripts/test-all.sh" ,
19- "test:all:foundry" : " ./scripts/test-all.sh --with-foundry" ,
2018 "test:cleanup" : " ./scripts/cleanup.sh"
2119 },
2220 "dependencies" : {
Original file line number Diff line number Diff line change @@ -229,17 +229,11 @@ INTEGRATION_RESULT=$?
229229# Clean up integration test file
230230rm -f " $PROJECT_ROOT /integration-test.js"
231231
232- # Optionally run Foundry tests
233- if [ " $1 " == " --with-foundry" ]; then
234- echo " "
235- echo -e " ${BLUE} 🔨 Running Foundry tests...${NC} "
236- forge test --rpc-url $ETH_RPC_URL
237- FOUNDRY_RESULT=$?
238- else
239- echo " "
240- echo -e " ${YELLOW} ℹ️ Skipping Foundry tests (use --with-foundry to include)${NC} "
241- FOUNDRY_RESULT=0
242- fi
232+ # Run Foundry tests
233+ echo " "
234+ echo -e " ${BLUE} 🔨 Running Foundry tests...${NC} "
235+ forge test --rpc-url $ETH_RPC_URL
236+ FOUNDRY_RESULT=$?
243237
244238# Summary
245239echo " "
@@ -250,12 +244,10 @@ if [ $INTEGRATION_RESULT -eq 0 ]; then
250244else
251245 echo " Integration Tests: ${RED} ❌ Failed${NC} "
252246fi
253- if [ " $1 " == " --with-foundry" ]; then
254- if [ $FOUNDRY_RESULT -eq 0 ]; then
255- echo " Foundry Tests: ${GREEN} ✅ Passed${NC} "
256- else
257- echo " Foundry Tests: ${RED} ❌ Failed${NC} "
258- fi
247+ if [ $FOUNDRY_RESULT -eq 0 ]; then
248+ echo " Foundry Tests: ${GREEN} ✅ Passed${NC} "
249+ else
250+ echo " Foundry Tests: ${RED} ❌ Failed${NC} "
259251fi
260252
261253# Exit with appropriate code
You can’t perform that action at this time.
0 commit comments