test: remove dead throwingTag setup and duplicate throw stub

for.spec kept throwingTag registration after #713 removed its test. Reuse ThrowingTag in liquid.spec instead of IntendedRenderErrorTag.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Yang Jun
2026-07-08 20:45:28 +08:00
co-authored by Cursor
parent b4c6acda7c
commit eddc04c411
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -7,13 +7,14 @@ while ! grep -q "Express running" "$LOG_FILE"; do
if ! kill -0 $SERVER_PID; then
echo "Server exited unexpectedly."
cat $LOG_FILE
return 1
exit 1
fi
sleep 1
done
curl http://127.0.0.1:3000 | grep -q 'Welcome to LiquidJS'
RESULT=$?
killall node
kill $SERVER_PID 2>/dev/null || true
wait $SERVER_PID 2>/dev/null || true
rm $LOG_FILE
if [ $RESULT != 0 ]; then
exit 1
+2 -2
View File
@@ -14,9 +14,9 @@ for demo in $(ls demo); do
npm link liquidjs
if npm test; then
echo [success] demo/webpack
echo "[success] demo/$demo"
else
echo [fail] demo/webpack
echo "[fail] demo/$demo"
exit 1
fi
cd -