CI / build + unit + e2e (pull_request) Successful in 10m51s
Extract the queue-line color from an inline literal to exported QUEUE_ROUTE_LINE_COLOR and retune it #64748b -> #d4a017. Dashed style and width unchanged. Unit test pins the constant; existing e2e specs (queue.spec.ts, relocation.spec.ts) already cover the rendering path.
12 lines
498 B
TypeScript
12 lines
498 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
import { QUEUE_ROUTE_LINE_COLOR } from './Map';
|
|
|
|
// ISS-098 (v0.50.0): the dotted queued/planned route line is amber/gold, not gray — pinned so a
|
|
// future retune is deliberate. E2E already exercises the rendering path (queue.spec.ts, relocation.spec.ts).
|
|
|
|
describe('queued route line color', () => {
|
|
it('pins the amber/gold queue-line color readable on light and dark tiles', () => {
|
|
expect(QUEUE_ROUTE_LINE_COLOR).toBe('#d4a017');
|
|
});
|
|
});
|