if test -z "$AUTOPKGTEST_TMP"; then
	# Build phase: root tests are TypeScript files which Debian's tap 16
	# cannot execute (no @tapjs/typescript plugin). Skip during build.
	exit 0
fi
# Autopkgtest phase: same reason — no TS-aware runner available.
# Mark as skipped (77) until tap >= 21 lands.
exit 77
rm -f test/iteration-unsupported.js
tap -J test -Rtap
