1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Fix prop types for SendGasRow component tests (#7833)

This commit is contained in:
Whymarrh Whitby 2020-01-15 17:44:47 -03:30 committed by GitHub
parent be08cfec0c
commit 948a2ce831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')
})