import Ember from 'ember'
const {merge, run} = Ember
import Application from '../../app'
import config from '../../config/environment'

export default function startApp (attrs) {
  let application

  let attributes = merge({}, config.APP)
  attributes = merge(attributes, attrs) // use defaults, but you can override;

  run(() => {
    application = Application.create(attributes)
    application.setupForTesting()
    application.injectTestHelpers()
  })

  return application
}

@@ -1,12 +1,60 @@
+/* eslint-disable ember-standard/destructure */%0A
 import Ember
@@ -78,15 +78,8 @@
 st %7B
-merge, 
 run%7D
@@ -170,16 +170,77 @@
 nment'%0A%0A
+const assign = Object.assign %7C%7C Ember.assign %7C%7C Ember.merge%0A%0A
 export d
@@ -312,21 +312,22 @@
 butes = 
-merge
+assign
 (%7B%7D, con
@@ -350,21 +350,22 @@
 butes = 
-merge
+assign
 (attribu

put back the assign stuff