Skip to content

Commit

Permalink
Tweak test to pass in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
phildarnowsky committed Feb 20, 2020
1 parent 83fc23e commit d39922d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from "react";
import renderer, { act } from "react-test-renderer";
import renderer from "react-test-renderer";
import { createReactRoot } from "../../app/helpers/testUtils";
import UpcomingDepartures from "../components/schedule-finder/UpcomingDepartures";
import { EnhancedJourney } from "../components/__trips";
import departuresResponse from "../__tests__/departures.json";
import crDeparturesResponse from "../__tests__/crDepartures.json";
import { UserInput } from "../components/ScheduleFinder";

const busDepartures = departuresResponse as EnhancedJourney[];
const crDepartures = crDeparturesResponse as EnhancedJourney[];
const busDepartures = (departuresResponse as unknown) as EnhancedJourney[];
const crDepartures = (crDeparturesResponse as unknown) as EnhancedJourney[];

const input: UserInput = {
route: "",
Expand Down

0 comments on commit d39922d

Please sign in to comment.