test(homepage): move the SECTION_ORDER assertion inside its test block

The line and its closing brace sat outside the @test block, leaving a
dangling assertion. In-flight from the sectioned-panels work.
This commit is contained in:
Frank
2026-09-21 14:00:18 -07:00
parent d6f9b8539a
commit 6a7ccc31f1
+2 -2
View File
@@ -31,14 +31,14 @@ setup() {
# renderSection()/renderPanel() components, not in per-page markup.
grep -q "renderSection" "$BASE/app.js"
grep -q "renderPanel" "$BASE/app.js"
grep -q "SECTION_ORDER" "$BASE/app.js"
}
@test "sections render horizontally (one column per section)" {
grep -q 'class="sections"' "$BASE/index.html"
grep -q 'class="sections"' "$BASE/admin.html"
grep -q "repeat(auto-fit" "$BASE/style.css"
}
grep -q "SECTION_ORDER" "$BASE/app.js"
}
@test "WIP badges distinguish open from closed work" {
grep -q "WIP: OPEN" "$BASE/app.js"