stub platform
This commit is contained in:
parent
90482934f1
commit
4e57cdf8b3
|
@ -62,6 +62,7 @@ const controller = new MetamaskController({
|
|||
showUnconfirmedMessage: noop,
|
||||
unlockAccountMessage: noop,
|
||||
showUnapprovedTx: noop,
|
||||
platform: {},
|
||||
// initial state
|
||||
initState: firstTimeState,
|
||||
})
|
||||
|
|
|
@ -10,6 +10,7 @@ describe('MetaMaskController', function () {
|
|||
showUnconfirmedMessage: noop,
|
||||
unlockAccountMessage: noop,
|
||||
showUnapprovedTx: noop,
|
||||
platform: {},
|
||||
// initial state
|
||||
initState: clone(firstTimeState),
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue