diff options
Estimate gas using same algorithm as backend.
Diffstat (limited to 'ui/app/components/send_/tests/send-component.test.js')
-rw-r--r-- | ui/app/components/send_/tests/send-component.test.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/send_/tests/send-component.test.js b/ui/app/components/send_/tests/send-component.test.js index 780ee1046..3abff0d23 100644 --- a/ui/app/components/send_/tests/send-component.test.js +++ b/ui/app/components/send_/tests/send-component.test.js @@ -32,6 +32,7 @@ describe.only('Send Component', function () { wrapper = shallow(<SendTransactionScreen amount={'mockAmount'} amountConversionRate={'mockAmountConversionRate'} + blockGasLimit={'mockBlockGasLimit'} conversionRate={10} data={'mockData'} editingTransactionId={'mockEditingTransactionId'} @@ -208,6 +209,7 @@ describe.only('Send Component', function () { assert.deepEqual( propsMethodSpies.updateAndSetGasTotal.getCall(0).args[0], { + blockGasLimit: 'mockBlockGasLimit', data: 'mockData', editingTransactionId: 'mockEditingTransactionId', gasLimit: 'mockGasLimit', |