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:
parent
5a842e440f
commit
64aa56b5a6
@ -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}` }
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user