Removed unused captions code.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user