mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Unit test proptype (#14509)
* Confirm page container content currentTransaction proptype change string to object * Add title prop
This commit is contained in:
parent
16bfd2f334
commit
d139e69545
@ -49,6 +49,7 @@ describe('Confirm Page Container Container Test', () => {
|
||||
const store = configureMockStore()(mockStore);
|
||||
|
||||
const props = {
|
||||
title: 'Title',
|
||||
fromAddress: '0xd8f6a2ffb0fc5952d16c9768b71cfd35b6399aa5',
|
||||
toAddress: '0x7a1A4Ad9cc746a70ee58568466f7996dD0aCE4E8',
|
||||
origin: 'testOrigin', // required
|
||||
|
@ -47,7 +47,7 @@ export default class ConfirmPageContainerContent extends Component {
|
||||
hideTitle: PropTypes.bool,
|
||||
supportsEIP1559V2: PropTypes.bool,
|
||||
hasTopBorder: PropTypes.bool,
|
||||
currentTransaction: PropTypes.string,
|
||||
currentTransaction: PropTypes.object,
|
||||
nativeCurrency: PropTypes.string,
|
||||
networkName: PropTypes.string,
|
||||
showBuyModal: PropTypes.func,
|
||||
|
Loading…
Reference in New Issue
Block a user