Skip to content

Commit

Permalink
fix: regression in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalonen committed Oct 28, 2018
1 parent f382eaa commit f354b0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as fs from 'fs'
import * as path from 'path'
import MOCK_PROGRAM from './__mocks__/program'
import MOCK_PROGRAMS_NOW from './__mocks__/programs-now'
import Client, { IMAGES_URL } from './client'
import { ApiAuth } from './client.types'

Expand Down Expand Up @@ -60,7 +61,7 @@ describe('Client', () => {
})

test('fetchProgramsNow', async () => {
const data = readJSONMock('programs-now.json')
const data = MOCK_PROGRAMS_NOW
const client = new Client(VALID_APIKEYS, mockFetchResultWith(data))
const programs = await client.fetchProgramsNow()

Expand Down

0 comments on commit f354b0a

Please sign in to comment.