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
|
||||
conversionRate={20}
|
||||
convertedCurrency="mockConvertedCurrency"
|
||||
gasFeeError="mockGasFeeError"
|
||||
gasFeeError
|
||||
gasLoadingError={false}
|
||||
gasTotal="mockGasTotal"
|
||||
gasButtonGroupShown={false}
|
||||
@ -52,7 +52,7 @@ describe('SendGasRow Component', function () {
|
||||
} = wrapper.find(SendRowWrapper).props()
|
||||
|
||||
assert.equal(label, 'transactionFee_t:')
|
||||
assert.equal(showError, 'mockGasFeeError')
|
||||
assert.equal(showError, true)
|
||||
assert.equal(errorType, 'gasFee')
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user