aboutsummaryrefslogtreecommitdiffstats
path: root/development/mockExtension.js
diff options
context:
space:
mode:
authorThomas <tmashuang@gmail.com>2018-01-23 08:06:35 +0800
committerThomas <tmashuang@gmail.com>2018-01-23 08:06:35 +0800
commitd59136eb49647a5a3217db828392d4743cb709d2 (patch)
tree92689d94ae9eea7b42b13a1b8d8252c64dbd3505 /development/mockExtension.js
parent338ebe5f402ff50dc8d1a91b7b69cd8e262cc789 (diff)
downloadtangerine-wallet-browser-d59136eb49647a5a3217db828392d4743cb709d2.tar
tangerine-wallet-browser-d59136eb49647a5a3217db828392d4743cb709d2.tar.gz
tangerine-wallet-browser-d59136eb49647a5a3217db828392d4743cb709d2.tar.bz2
tangerine-wallet-browser-d59136eb49647a5a3217db828392d4743cb709d2.tar.lz
tangerine-wallet-browser-d59136eb49647a5a3217db828392d4743cb709d2.tar.xz
tangerine-wallet-browser-d59136eb49647a5a3217db828392d4743cb709d2.tar.zst
tangerine-wallet-browser-d59136eb49647a5a3217db828392d4743cb709d2.zip
Add ExtensionPlatform = 'development' to mockUi
Diffstat (limited to 'development/mockExtension.js')
-rw-r--r--development/mockExtension.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/development/mockExtension.js b/development/mockExtension.js
index 55799b2bf..ac03d965c 100644
--- a/development/mockExtension.js
+++ b/development/mockExtension.js
@@ -37,3 +37,8 @@ apis.forEach(function (api) {
extension.runtime.reload = noop
extension.tabs.create = noop
+extension.runtime.getManifest = function () {
+ return {
+ version: 'development'
+ }
+} \ No newline at end of file