Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanregisser authored and Pedro-vk committed Dec 4, 2019
1 parent 5ee82d3 commit f2a14b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/mobile/src/import/ImportWallet.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jest.mock('src/geth/GethAwareButton', () => {
return mockButton
})

jest.mock('react-navigation', () => ({
NavigationEvents: 'NavigationEvents',
}))

describe('ImportWallet', () => {
it('renders correctly and is disabled with no text', () => {
const wrapper = render(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ exports[`ImportWallet renders correctly and is disabled with no text 1`] = `
}
}
>
<NavigationEvents
onDidFocus={[Function]}
/>
<RCTScrollView
contentContainerStyle={
Object {
Expand Down

0 comments on commit f2a14b9

Please sign in to comment.