Maurice
68ce177901
fix(test): CHARGING-013 failed on a date, not on a count
...
The case asserts no availability counter is shown for an ambiguous station, and
looked for one with an unanchored /\d+\/\d+/. The attribution line beside it ends
in the source's updatedAt run through toLocaleString(), and tests/setup.ts only
forces en-US on toLocaleDateString, so that timestamp reads "14.9.2026" on a
German machine and "9/14/2026" on the CI runner. The regex matched the second
one. Green where it was written, red on Linux, and red for a reason that has
nothing to do with charging.
Anchored at the start instead. Both places that print a count begin with it, so
the case still says what it meant to say.
2026-09-14 14:26:15 +02:00
..
2026-09-07 18:36:54 +02:00
2026-09-07 18:36:54 +02:00
2026-09-07 18:36:54 +02:00
2026-09-14 12:28:12 +02:00
2026-09-14 12:28:12 +02:00
2026-09-10 21:40:51 +02:00
2026-09-10 21:40:51 +02:00
2026-09-11 22:28:03 +02:00
2026-09-11 22:28:03 +02:00
2026-09-14 14:26:15 +02:00
2026-09-14 12:28:47 +02:00
2026-09-11 23:25:06 +02:00
2026-09-11 22:28:03 +02:00
2026-09-11 22:28:03 +02:00
2026-09-10 21:40:51 +02:00
2026-09-10 21:40:51 +02:00
2026-09-11 23:25:06 +02:00
2026-09-11 22:28:03 +02:00
2026-09-12 11:23:09 +02:00
2026-09-11 22:28:03 +02:00
2026-09-12 13:25:15 +02:00
2026-09-07 18:36:54 +02:00
2026-09-07 18:36:54 +02:00
2026-09-12 13:25:15 +02:00
2026-09-12 12:24:33 +02:00
2026-09-14 12:28:30 +02:00
2026-09-11 23:25:06 +02:00
2026-09-10 21:40:51 +02:00
2026-09-10 21:40:51 +02:00
2026-09-07 18:36:54 +02:00
2026-09-10 21:40:51 +02:00
2026-09-10 21:40:51 +02:00
2026-09-14 12:28:12 +02:00
2026-09-14 12:28:12 +02:00
2026-09-07 18:36:54 +02:00
2026-09-07 18:36:54 +02:00
2026-09-14 13:50:44 +02:00
2026-09-14 13:50:44 +02:00
2026-09-12 00:24:45 +02:00
2026-09-12 16:02:01 +02:00
2026-09-14 13:20:21 +02:00
2026-09-14 13:20:21 +02:00
2026-09-11 23:25:06 +02:00
2026-09-07 18:36:54 +02:00
2026-09-12 15:47:57 +02:00
2026-09-13 14:34:52 +02:00
2026-09-09 14:52:50 +02:00
2026-09-13 14:23:49 +02:00
2026-09-14 12:28:47 +02:00
2026-09-14 12:28:47 +02:00
2026-09-07 18:36:54 +02:00
2026-09-07 18:36:54 +02:00
2026-09-07 18:36:54 +02:00
2026-09-07 18:36:54 +02:00
2026-09-12 11:23:09 +02:00
2026-09-12 15:37:09 +02:00
2026-09-12 15:37:09 +02:00
2026-09-12 15:37:09 +02:00
2026-09-12 00:24:45 +02:00
2026-09-12 00:24:45 +02:00
2026-09-07 18:36:54 +02:00
2026-09-10 21:40:51 +02:00
2026-09-12 15:37:09 +02:00
2026-09-12 15:37:09 +02:00
2026-09-07 18:36:54 +02:00
2026-09-11 22:28:03 +02:00
2026-09-11 22:28:03 +02:00
2026-09-12 12:24:33 +02:00
2026-09-12 12:24:33 +02:00
2026-09-11 22:28:03 +02:00
2026-09-11 22:28:03 +02:00
2026-09-11 22:28:03 +02:00
2026-09-12 00:24:45 +02:00
2026-09-12 00:24:45 +02:00
2026-09-14 12:28:30 +02:00
2026-09-14 12:28:30 +02:00
2026-09-12 15:37:09 +02:00
2026-09-13 23:49:00 +02:00
2026-09-10 21:40:51 +02:00
2026-09-10 21:40:51 +02:00
2026-09-07 18:36:54 +02:00
2026-09-07 18:36:54 +02:00
2026-09-12 00:24:45 +02:00
2026-09-12 00:24:45 +02:00
2026-09-11 23:25:06 +02:00
2026-09-12 16:22:11 +02:00
2026-09-12 15:37:09 +02:00