message: Updates fairheader countdown test
diff: @@ -14,18 +14,34 @@ describe("CountdownTimer", () => {
  })
  it("renders upcoming properly", () => {
  - const comp = render(<CountdownTimer startAt="2018-05-10T20:22:42+00:00" endAt="2018-05-14T10:24:31+00:00" />)
  - expect(comp.text()).toContain("Opens Mon at 7pm")
  + const comp = render(
  + <CountdownTimer
  + formattedOpeningHours="Opens May 10 at 8:22pm"
  + startAt="2018-05-10T20:22:42+00:00"
  + endAt="2018-05-14T10:24:31+00:00"
  + />
  + )
  + expect(comp.text()).toContain("Opens May 10 at 8:22pm")
  })
  it("renders current properly", () => {
  - const comp = render(<CountdownTimer startAt="2018-04-14T20:00:00+00:00" endAt="2018-05-14T20:00:00+00:00" />)
  - expect(comp.text()).toContain("Closes Mon at 7pm")
  + const comp = render(
  + <CountdownTimer
  + formattedOpeningHours="Opens April 14 at 8:00pm"
  + startAt="2018-04-14T20:00:00+00:00"
  + endAt="2018-05-14T20:00:00+00:00"
  + />
  + )
  + expect(comp.text()).toContain("Opens April 14 at 8:00pm")
  })
  it("renders closed properly", () => {
  const comp = render(
  - <CountdownTimer startAt={dateString(Date.now() - 2000)} endAt={dateString(Date.now() - 1000)} />
  + <CountdownTimer
  + formattedOpeningHours="Closed"
  + startAt={dateString(Date.now() - 2000)}
  + endAt={dateString(Date.now() - 1000)}
  + />
  )
  expect(comp.text()).toContain("")
  })
  