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 14
14
"test:foundry:all" : " forge clean && forge build && forge test --ffi" ,
15
15
"test:setup" : " ./scripts/setup-local-chain.sh" ,
16
16
"test:run" : " ./scripts/run-tests.sh" ,
17
- "test:run:foundry" : " ./scripts/run-tests.sh --with-foundry" ,
18
17
"test:all" : " ./scripts/test-all.sh" ,
19
- "test:all:foundry" : " ./scripts/test-all.sh --with-foundry" ,
20
18
"test:cleanup" : " ./scripts/cleanup.sh"
21
19
},
22
20
"dependencies" : {
Original file line number Diff line number Diff line change @@ -229,17 +229,11 @@ INTEGRATION_RESULT=$?
229
229
# Clean up integration test file
230
230
rm -f " $PROJECT_ROOT /integration-test.js"
231
231
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=$?
243
237
244
238
# Summary
245
239
echo " "
@@ -250,12 +244,10 @@ if [ $INTEGRATION_RESULT -eq 0 ]; then
250
244
else
251
245
echo " Integration Tests: ${RED} ❌ Failed${NC} "
252
246
fi
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} "
259
251
fi
260
252
261
253
# Exit with appropriate code
You can’t perform that action at this time.
0 commit comments