--- a/cms/app-client/tests/helpers/start-app.js Tue Mar 01 23:35:33 2016 +0100
+++ b/cms/app-client/tests/helpers/start-app.js Wed Mar 02 13:47:07 2016 +0100
@@ -3,12 +3,12 @@
import config from '../../config/environment';
export default function startApp(attrs) {
- var application;
+ let application;
- var attributes = Ember.merge({}, config.APP);
+ let attributes = Ember.merge({}, config.APP);
attributes = Ember.merge(attributes, attrs); // use defaults, but you can override;
- Ember.run(function() {
+ Ember.run(() => {
application = Application.create(attributes);
application.setupForTesting();
application.injectTestHelpers();