All files / api/trimet-client/src/fixture arrival.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4

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 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92      52x                                         52x                                             52x                                             52x                                          
import { Arrival, BlockPosition } from "../interfaces/arrivals";
import { trip1 } from "./trip";
 
const blockPosition: BlockPosition = {
  at: 123,
  direction: 123,
  heading: 123,
  id: 123,
  lastLocID: 123,
  lastStopSeq: 123,
  lat: 123,
  lng: 123,
  newTrip: true,
  nextLocID: 123,
  nextStopSeq: 123,
  routeNumber: 123,
  signMessage: "123",
  signMessageLong: "123",
  trip: [trip1],
  tripID: "string",
  vehicleID: 123
};
 
// @ts-ignore
export const arrival1: Arrival = {
  blockID: 123,
  blockPosition,
  departed: true,
  detoured: true,
  dir: 123,
  dropOffOnly: false,
  estimated: 123,
  feet: 123,
  fullSign: "123",
  id: "123",
  locid: 123,
  newTrip: false,
  piece: "123123",
  route: 123,
  scheduled: 123,
  shortSign: "123",
  status: "123",
  tripID: "123",
  vehicleID: "123"
};
 
// @ts-ignore
export const arrival2: Arrival = {
  blockID: 123,
  blockPosition,
  departed: true,
  detoured: true,
  dir: 123,
  dropOffOnly: false,
  estimated: 123,
  feet: 123,
  fullSign: "123",
  id: "456",
  locid: 123,
  newTrip: false,
  piece: "123123",
  route: 123,
  scheduled: 123,
  shortSign: "456",
  status: "123",
  tripID: "123",
  vehicleID: "123"
};
 
// @ts-ignore
export const arrival3: Arrival = {
  blockID: 123,
  blockPosition,
  departed: true,
  detoured: true,
  dir: 123,
  dropOffOnly: false,
  estimated: 123,
  feet: 123,
  fullSign: "123",
  id: "789",
  locid: 123,
  newTrip: false,
  piece: "123123",
  route: 123,
  scheduled: 123,
  shortSign: "789",
  status: "123",
  tripID: "123",
  vehicleID: "123"
};