Add state selector to mock-dev server used by UI tests

feature/default_network_editable
Dan Finlay 8 years ago
parent f3faec6509
commit a5cfa937ef
  1. 3
      mock-dev.js

@ -19,6 +19,7 @@ const Root = require('./ui/app/root')
const configureStore = require('./ui/app/store') const configureStore = require('./ui/app/store')
const actions = require('./ui/app/actions') const actions = require('./ui/app/actions')
const states = require('./development/states') const states = require('./development/states')
const Selector = require('./development/selector')
const MetamaskController = require('./app/scripts/metamask-controller') const MetamaskController = require('./app/scripts/metamask-controller')
const extension = require('./development/mockExtension') const extension = require('./development/mockExtension')
@ -139,6 +140,8 @@ render(
}, },
}, 'Reset State'), }, 'Reset State'),
h(Selector, { actions, selectedKey: selectedView, states, store }),
h('.mock-app-root', { h('.mock-app-root', {
style: { style: {
height: '500px', height: '500px',

Loading…
Cancel
Save