Skip to content

Commit 63d1f36

Browse files
committed
fixup! StopDetails: List Trunk Stop status on Basic Details
1 parent a4973de commit 63d1f36

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

ui/src/components/stop-registry/stops/stop-details/utils.spec.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ describe('Stop registry utils', () => {
1111
stopType: {
1212
railReplacement: true,
1313
virtual: false,
14+
trunkLineStop: false,
1415
},
1516
};
1617
const result = translateStopTypes(i18n.t, stopPlace);
@@ -22,17 +23,21 @@ describe('Stop registry utils', () => {
2223
stopType: {
2324
railReplacement: true,
2425
virtual: true,
26+
trunkLineStop: true,
2527
},
2628
};
2729
const result = translateStopTypes(i18n.t, stopPlace);
28-
expect(result).toBe('Raideliikennettä korvaava, virtuaalipysäkki');
30+
expect(result).toBe(
31+
'Raideliikennettä korvaava, virtuaalipysäkki, runkolinjapysäkki',
32+
);
2933
});
3034

3135
it('should return an empty string when stop has no types', () => {
3236
const stopPlace = {
3337
stopType: {
3438
railReplacement: false,
3539
virtual: false,
40+
trunkLineStop: false,
3641
},
3742
};
3843
const result = translateStopTypes(i18n.t, stopPlace);

0 commit comments

Comments
 (0)