mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-02 10:19:37 +00:00
refactor: replace custom test runner with Node.js assert
- Simplify test files by removing custom TestRunner class - Use standard Node.js assert module across all unit tests - Update CLAUDE.md with streamlined development instructions - Update tests/README.md with current testing approach - Reduce boilerplate in delegation and GLMT test suites (652 lines removed)
This commit is contained in:
+10
-5
@@ -68,12 +68,17 @@ echo ""
|
||||
echo "Note: lib/ccs and lib/ccs.ps1 are now bootstraps"
|
||||
echo " (delegate to Node.js, no version hardcoded)"
|
||||
echo ""
|
||||
read -p "Continue? (y/N) " -n 1 -r
|
||||
echo
|
||||
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
echo "Cancelled."
|
||||
exit 0
|
||||
# Auto-confirm in non-interactive mode (CI, piped, etc.)
|
||||
if [[ ! -t 0 ]]; then
|
||||
echo "[i] Non-interactive mode detected, proceeding..."
|
||||
else
|
||||
read -p "Continue? (y/N) " -n 1 -r
|
||||
echo
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
echo "Cancelled."
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
# Update VERSION file
|
||||
|
||||
Reference in New Issue
Block a user