mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Lint and unit test fixes.
This commit is contained in:
parent
6f8e2b1ad9
commit
6dd1028c71
@ -229,9 +229,9 @@ describe('GasModalPageContainer Component', function () {
|
||||
assert(renderedInfoRows.at(2).hasClass(`${baseClassName}__total-info`))
|
||||
assert(renderedInfoRows.at(3).hasClass(`${baseClassName}__fiat-total-info`))
|
||||
|
||||
assert.equal(renderedInfoRows.at(0).text(), 'Send Amount mockSendAmount')
|
||||
assert.equal(renderedInfoRows.at(1).text(), 'Transaction Fee mockTransactionFee')
|
||||
assert.equal(renderedInfoRows.at(2).text(), 'New Total mockNewTotalEth')
|
||||
assert.equal(renderedInfoRows.at(0).text(), 'sendAmount mockSendAmount')
|
||||
assert.equal(renderedInfoRows.at(1).text(), 'transactionFee mockTransactionFee')
|
||||
assert.equal(renderedInfoRows.at(2).text(), 'newTotal mockNewTotalEth')
|
||||
assert.equal(renderedInfoRows.at(3).text(), 'mockNewTotalFiat')
|
||||
})
|
||||
})
|
||||
|
@ -125,7 +125,7 @@ describe('send container', () => {
|
||||
assert(dispatchSpy.calledOnce)
|
||||
assert.deepEqual(
|
||||
actionSpies.updateGasData.getCall(0).args[0],
|
||||
{ gasPrice, selectedAddress, selectedToken, recentBlocks, blockGasLimit, to, value, }
|
||||
{ gasPrice, selectedAddress, selectedToken, recentBlocks, blockGasLimit, to, value, data }
|
||||
)
|
||||
})
|
||||
})
|
||||
|
@ -1,5 +1,4 @@
|
||||
import ethUtil from 'ethereumjs-util'
|
||||
import { conversionUtil } from '../conversion-util'
|
||||
import { ETH, GWEI, WEI } from '../constants/common'
|
||||
import { conversionUtil, addCurrencies } from '../conversion-util'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user