mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-17 05:10:40 -07:00
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:
@@ -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
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user