Skip to content

Commit ccb0db5

Browse files
committed
use currentdate for tests to show results
1 parent f0414e8 commit ccb0db5

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

src/test/MonitorRowContainer.test.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const mockProps = {
2525
},
2626
realtime: true,
2727
pickupType: 'SCHEDULED',
28-
serviceDay: 1751576400,
28+
serviceDay: Math.floor(Date.now() / 1000),
2929
scheduledDeparture: 34860,
3030
realtimeDeparture: 34885,
3131
realtimeState: 'UPDATED',
@@ -52,16 +52,6 @@ const mockProps = {
5252
gtfsId: 'HSL:5530',
5353
alerts: [],
5454
},
55-
stops: [
56-
{
57-
name: 'Matinkylä (M)',
58-
gtfsId: 'HSL:2314215',
59-
direction: null,
60-
code: '2145',
61-
platformCode: '1',
62-
parentStation: null,
63-
},
64-
],
6555
},
6656
combinedPattern: 'HSL:5530:530:Myyrmäki:0',
6757
renameID: 'Myyrmäki',

0 commit comments

Comments
 (0)