more fixes and tweaks

This commit is contained in:
Jesse
2026-08-01 12:00:27 -04:00
parent d1f689d4fc
commit f00255ce31
7 changed files with 94 additions and 8 deletions
+4 -2
View File
@@ -435,8 +435,10 @@ describe('the page explains itself', () => {
assert.match(label, /Train 4/, `the ruling does not name the train: ${label}`);
assert.doesNotMatch(label, /tray\d/, `internal id on a button: ${label}`);
}
assert.match(allow, /collision/, 'granting clearance does not mention the risk');
assert.match(hold, /safe|loses/, 'holding does not mention the cost');
// Deliberately NOT asserting that granting clearance mentions a collision: no rear-end is
// implemented, and promising one would describe a consequence the engine never delivers.
assert.match(allow, /same Mainline card/, 'granting clearance does not say what happens');
assert.match(hold, /losing the Stage/, 'holding does not mention the cost');
});
it('states the objective and whether you are keeping up', () => {