Skip to content

Commit

Permalink
test(repair price chart tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixtedemaupeou committed May 2, 2018
1 parent a58344a commit c13e0ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { path, prop } from 'ramda'

export const getPriceChart = prop('priceChart')
import { path } from 'ramda'

export const getCoin = path(['components', 'priceChart', 'coin'])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const localStorageMock = {
global.localStorage = localStorageMock

describe('Chart container', () => {
const props = { data: Remote.Success(''), actions: { initialized: jest.fn() } }
const props = { data: Remote.Success(''), priceChartActions: { initialized: jest.fn() } }

it('renders correctly (Success)', () => {
const component = shallow(<ChartContainer {...props} />)
Expand Down

0 comments on commit c13e0ad

Please sign in to comment.