mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix prop types for SendGasRow component tests (#7833)
This commit is contained in:
parent
be08cfec0c
commit
948a2ce831
@ -21,7 +21,7 @@ describe('SendGasRow Component', function () {
|
|||||||
<SendGasRow
|
<SendGasRow
|
||||||
conversionRate={20}
|
conversionRate={20}
|
||||||
convertedCurrency="mockConvertedCurrency"
|
convertedCurrency="mockConvertedCurrency"
|
||||||
gasFeeError="mockGasFeeError"
|
gasFeeError
|
||||||
gasLoadingError={false}
|
gasLoadingError={false}
|
||||||
gasTotal="mockGasTotal"
|
gasTotal="mockGasTotal"
|
||||||
gasButtonGroupShown={false}
|
gasButtonGroupShown={false}
|
||||||
@ -52,7 +52,7 @@ describe('SendGasRow Component', function () {
|
|||||||
} = wrapper.find(SendRowWrapper).props()
|
} = wrapper.find(SendRowWrapper).props()
|
||||||
|
|
||||||
assert.equal(label, 'transactionFee_t:')
|
assert.equal(label, 'transactionFee_t:')
|
||||||
assert.equal(showError, 'mockGasFeeError')
|
assert.equal(showError, true)
|
||||||
assert.equal(errorType, 'gasFee')
|
assert.equal(errorType, 'gasFee')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user