Skip to content

Commit

Permalink
fix - tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyncee59 committed Jun 1, 2018
1 parent c5c84c8 commit 4e4f23b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 360 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { shallow } from 'enzyme'
import toJson from 'enzyme-to-json'
import WhatsNew from './template'
import WhatsNew from './index'
jest.mock('blockchain-info-components', () => ({ Text: 'text', TextGroup: 'text-group', Color: (val) => val, ModalHeader: 'modal-header', ModalBody: 'modal-body' }))

const mockTrayToggle = jest.fn()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jest.mock('./template.success', () => 'template.success')
jest.mock('./template.error', () => 'template.error')
jest.mock('./template.loading', () => 'template.loading')
jest.mock('data', () => ({}))
jest.mock('./selectors', () => jest.fn())

const localStorageMock = {
getItem: jest.fn(),
Expand Down

0 comments on commit 4e4f23b

Please sign in to comment.