feat: route log odometer and lit mile markers for profile and experience
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user