Removed unused captions code.

This commit is contained in:
Storm Dragon
2026-07-09 11:15:35 -04:00
parent 9a9742e066
commit 704b1a9558
12 changed files with 28 additions and 99 deletions
+10
View File
@@ -69,6 +69,16 @@ func TestStaticLiveRegionAnnouncementsStayWired(t *testing.T) {
requireFunctionContains(t, js, "setUserStatus", "announceUrgent(`${username}: hand lowered`)")
}
func TestCaptionOverlayHasBeenRemoved(t *testing.T) {
html := readStaticFile(t, "skald.html")
js := readStaticFile(t, "skald.js")
css := readStaticFile(t, "skald.css")
requireNotContains(t, html, "captions", "hall page")
requireNotContains(t, js, "caption", "hall script")
requireNotContains(t, css, "caption", "hall styles")
}
func TestHallHeadingIncludesCurrentStatus(t *testing.T) {
html := readStaticFile(t, "skald.html")
js := readStaticFile(t, "skald.js")