aboutsummaryrefslogtreecommitdiff
path: root/scripts/tests
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tests')
-rw-r--r--scripts/tests/install-lang.bats10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/tests/install-lang.bats b/scripts/tests/install-lang.bats
index a9f3bfe..0fb83e3 100644
--- a/scripts/tests/install-lang.bats
+++ b/scripts/tests/install-lang.bats
@@ -69,6 +69,16 @@ teardown() {
grep -qxF "coverage.json" "$PROJECT/.gitignore"
}
+@test "install-lang typescript: lands the coverage script in the gitignored footprint" {
+ run bash "$INSTALL_LANG" typescript "$PROJECT"
+
+ [ "$status" -eq 0 ]
+ [ -f "$PROJECT/.claude/scripts/coverage-summary.js" ]
+ [ -f "$PROJECT/coverage-makefile.txt" ]
+ grep -qxF ".claude/" "$PROJECT/.gitignore"
+ grep -qxF "coverage/" "$PROJECT/.gitignore"
+}
+
@test "install-lang go: coverage-only slice lands without a CLAUDE.md" {
run bash "$INSTALL_LANG" go "$PROJECT"