aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b8f34cb..33c582f 100644
--- a/Makefile
+++ b/Makefile
@@ -477,6 +477,15 @@ test: ## Run all test suites (pytest + ERT + bats)
else \
echo "go test: skipped (go not installed)"; \
fi
+ @if command -v node >/dev/null 2>&1; then \
+ set -e; for d in languages/*/tests; do \
+ ls "$$d"/*.test.js >/dev/null 2>&1 || continue; \
+ echo "node test: $$d"; \
+ ( cd "$$d" && node --test ); \
+ done; \
+ else \
+ echo "node test: skipped (node not installed)"; \
+ fi
@set -e; for f in .ai/scripts/tests/test-*.el; do \
[ -e "$$f" ] || continue; \
echo "ert: $$(basename "$$f")"; \