Browse Source
Fix ModalRoot spec to pass
By providing required param isTestnet
renovate/lint-staged-8.x
Ben Woosley
7 years ago
No known key found for this signature in database
GPG Key ID: 6EE5F3785F78B345
1 changed files with
2 additions and
3 deletions
-
test/components/ModalRoot.spec.js
|
|
@ -1,14 +1,13 @@ |
|
|
|
import React from 'react' |
|
|
|
import { shallow } from 'enzyme' |
|
|
|
import ModalRoot from '../../app/components/ModalRoot' |
|
|
|
import SuccessfulSendCoins from '../../app/components/ModalRoot/SuccessfulSendCoins' |
|
|
|
import SuccessfulSendPayment from '../../app/components/ModalRoot/SuccessfulSendPayment' |
|
|
|
|
|
|
|
const defaultProps = { |
|
|
|
hideModal: () => {}, |
|
|
|
modalProps: {}, |
|
|
|
currentTicker: {}, |
|
|
|
currency: '' |
|
|
|
currency: '', |
|
|
|
isTestnet: false |
|
|
|
} |
|
|
|
|
|
|
|
describe('no modal', () => { |
|
|
|