Skip to content

Commit

Permalink
fix: fix test with initialSearchTime
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansberg committed Nov 9, 2023
1 parent 815c81d commit e781fcc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/page-modules/assistant/__tests__/assistant.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ describe('assistant page', function () {
...context,
} as any);

(await expectProps(result)).toContain({
(await expectProps(result)).toMatchObject({
initialFromFeature: fromFeature,
initialToFeature: toFeature,
// initialSearchTime: {
// mode: 'departBy',
// dateTime: 123,
// },
initialSearchTime: {
mode: 'departBy',
dateTime: 123,
},
trip: tripResult,
nonTransitTrips: nonTransitTripResult,
});
Expand Down

0 comments on commit e781fcc

Please sign in to comment.