feat: route log odometer and lit mile markers for profile and experience

This commit is contained in:
2026-10-11 06:15:36 +03:00
parent b6e22a1299
commit 19f3ce79e6
29 changed files with 932 additions and 26 deletions

View File

@@ -163,6 +163,16 @@ describe('the 03:12 window on the server', () => {
});
});
describe('MILE MARKERS on the server', () => {
it('ships no route log: no attribute, no odometer and an empty sub-line', async () => {
const html = await render('/', validInputs);
expect(html).not.toContain('data-route-log');
expect(html).not.toContain('route-odo');
expect(html).not.toContain('journey-hud__log-pulse');
expect(html).not.toMatch(/LOG \d\d\//u);
});
});
describe('HIGH BEAM on the server', () => {
it('ships no beam state: the name renders fully lit and its text is unchanged', async () => {
const html = await render('/', validInputs);