aboutsummaryrefslogtreecommitdiffstats
path: root/development/mock-dev.js
diff options
context:
space:
mode:
Diffstat (limited to 'development/mock-dev.js')
-rw-r--r--development/mock-dev.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/mock-dev.js b/development/mock-dev.js
index f332633d5..8f8d29284 100644
--- a/development/mock-dev.js
+++ b/development/mock-dev.js
@@ -81,14 +81,14 @@ const controller = new MetamaskController({
initState: firstTimeState,
})
global.metamaskController = controller
-global.platform = new ExtensionPlatform
+global.platform = new ExtensionPlatform()
//
// User Interface
//
actions._setBackgroundConnection(controller.getApi())
-actions.update = function(stateName) {
+actions.update = function (stateName) {
selectedView = stateName
updateQueryParams(stateName)
const newState = states[selectedView]
@@ -98,7 +98,7 @@ actions.update = function(stateName) {
}
}
-function modifyBackgroundConnection(backgroundConnectionModifier) {
+function modifyBackgroundConnection (backgroundConnectionModifier) {
const modifiedBackgroundConnection = Object.assign({}, controller.getApi(), backgroundConnectionModifier)
actions._setBackgroundConnection(modifiedBackgroundConnection)
}
@@ -112,7 +112,7 @@ var store = configureStore(firstState)
// start app
startApp()
-function startApp(){
+function startApp () {
const body = document.body
const container = document.createElement('div')
container.id = 'test-container'