All files / applications/go-by-transit/src/view/tripPlanner PlannerStopSelect.tsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15          13x             403x    
import React from "react";
import { PlannerStopSelect as StopSelect, type CommonPlannerPlace, type PlannerStopSelectProps } from "@overworld/ui/transit";
 
export type { SavedPlannerStop } from "@overworld/ui/transit";
 
const COMMON_PLACES: readonly CommonPlannerPlace[] = [
  { id: 9650, label: "Washington Square Transit Center", aliases: ["Washington Square Mall", "Washington Sq"] },
  { id: 10120, label: "Oregon Zoo / Washington Park MAX Station", aliases: ["Zoo", "Washington Park MAX"] },
  { id: 10579, label: "Portland International Airport MAX Station", aliases: ["PDX"] },
];
 
export default function PlannerStopSelect(props: Omit<PlannerStopSelectProps, "commonPlaces">) {
  return <StopSelect {...props} commonPlaces={COMMON_PLACES} />;
}