Files
Denis Bykhov da88233dda Add 'foundations/net/' from commit '7722c9534141cf92ea7e990b8687c14ef3c747b2'
git-subtree-dir: foundations/net
git-subtree-mainline: 2b0d510202
git-subtree-split: 7722c95341
2025-11-26 22:57:00 +05:00

27 lines
551 B
Bash
Executable File

#!/bin/bash
echo "=== FINAL COVERAGE REPORT ==="
echo ""
# Iterate through each package directory
for pkg in packages/*/; do
pkgname=$(basename "$pkg")
echo "📦 Package: $pkgname"
echo "---"
# Change to package directory
cd "$pkg" || continue
# Run tests with coverage and extract summary
npm test -- --coverage --silent 2>&1 | \
grep -A 4 "Coverage summary" | \
grep -E "Statements|Branches|Functions|Lines"
# Return to root directory
cd ../.. || exit
echo ""
done
echo "=== END OF COVERAGE REPORT ==="