diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-08-12 10:45:47 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-08-12 10:45:47 +0800 |
commit | a5cfa937ef216ae3e0ec687e39bffb1c2bfaed82 (patch) | |
tree | 684d9d76023ee6237dc0dddf8f9fa60b5bf50455 /mock-dev.js | |
parent | f3faec6509e17c41f22f914cdeaa57eefcb12cc3 (diff) | |
download | tangerine-wallet-browser-a5cfa937ef216ae3e0ec687e39bffb1c2bfaed82.tar tangerine-wallet-browser-a5cfa937ef216ae3e0ec687e39bffb1c2bfaed82.tar.gz tangerine-wallet-browser-a5cfa937ef216ae3e0ec687e39bffb1c2bfaed82.tar.bz2 tangerine-wallet-browser-a5cfa937ef216ae3e0ec687e39bffb1c2bfaed82.tar.lz tangerine-wallet-browser-a5cfa937ef216ae3e0ec687e39bffb1c2bfaed82.tar.xz tangerine-wallet-browser-a5cfa937ef216ae3e0ec687e39bffb1c2bfaed82.tar.zst tangerine-wallet-browser-a5cfa937ef216ae3e0ec687e39bffb1c2bfaed82.zip |
Add state selector to mock-dev server used by UI tests
Diffstat (limited to 'mock-dev.js')
-rw-r--r-- | mock-dev.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mock-dev.js b/mock-dev.js index c4c5befc8..99b846e51 100644 --- a/mock-dev.js +++ b/mock-dev.js @@ -19,6 +19,7 @@ const Root = require('./ui/app/root') const configureStore = require('./ui/app/store') const actions = require('./ui/app/actions') const states = require('./development/states') +const Selector = require('./development/selector') const MetamaskController = require('./app/scripts/metamask-controller') const extension = require('./development/mockExtension') @@ -139,6 +140,8 @@ render( }, }, 'Reset State'), + h(Selector, { actions, selectedKey: selectedView, states, store }), + h('.mock-app-root', { style: { height: '500px', |