1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

test - send-utils.test - lint fix

This commit is contained in:
kumavis 2018-05-28 12:54:19 -07:00 committed by Dan
parent 5a842e440f
commit 64aa56b5a6

View File

@ -242,7 +242,7 @@ describe('send utils', () => {
to: '0xisContract', to: '0xisContract',
estimateGasMethod: sinon.stub().callsFake( estimateGasMethod: sinon.stub().callsFake(
(data, cb) => cb( (data, cb) => cb(
data.to.match(/willFailBecauseOf:/) ? { message: data.to.match(/\:(.+)$/)[1] } : null, data.to.match(/willFailBecauseOf:/) ? { message: data.to.match(/:(.+)$/)[1] } : null,
{ toString: (n) => `mockToString:${n}` } { toString: (n) => `mockToString:${n}` }
) )
), ),