From a5cfa937ef216ae3e0ec687e39bffb1c2bfaed82 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 11 Aug 2016 19:45:47 -0700 Subject: [PATCH] Add state selector to mock-dev server used by UI tests --- mock-dev.js | 3 +++ 1 file changed, 3 insertions(+) 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',