diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-09-20 01:53:56 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-09-20 02:34:19 +0800 |
commit | 4e57cdf8b35c0bde571fb108b76d70ca251644f7 (patch) | |
tree | 9e2283a266bbea1f1529853541d039d6d6a350e6 | |
parent | 90482934f105deeaa32271dac06271f4d6a0bf52 (diff) | |
download | tangerine-wallet-browser-4e57cdf8b35c0bde571fb108b76d70ca251644f7.tar tangerine-wallet-browser-4e57cdf8b35c0bde571fb108b76d70ca251644f7.tar.gz tangerine-wallet-browser-4e57cdf8b35c0bde571fb108b76d70ca251644f7.tar.bz2 tangerine-wallet-browser-4e57cdf8b35c0bde571fb108b76d70ca251644f7.tar.lz tangerine-wallet-browser-4e57cdf8b35c0bde571fb108b76d70ca251644f7.tar.xz tangerine-wallet-browser-4e57cdf8b35c0bde571fb108b76d70ca251644f7.tar.zst tangerine-wallet-browser-4e57cdf8b35c0bde571fb108b76d70ca251644f7.zip |
stub platform
-rw-r--r-- | mock-dev.js | 1 | ||||
-rw-r--r-- | test/unit/metamask-controller-test.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mock-dev.js b/mock-dev.js index a47f1ed4d..0a3eb12ce 100644 --- a/mock-dev.js +++ b/mock-dev.js @@ -62,6 +62,7 @@ const controller = new MetamaskController({ showUnconfirmedMessage: noop, unlockAccountMessage: noop, showUnapprovedTx: noop, + platform: {}, // initial state initState: firstTimeState, }) diff --git a/test/unit/metamask-controller-test.js b/test/unit/metamask-controller-test.js index 5ee0a6c84..ef6cae758 100644 --- a/test/unit/metamask-controller-test.js +++ b/test/unit/metamask-controller-test.js @@ -10,6 +10,7 @@ describe('MetaMaskController', function () { showUnconfirmedMessage: noop, unlockAccountMessage: noop, showUnapprovedTx: noop, + platform: {}, // initial state initState: clone(firstTimeState), }) |