Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Marshall Jones committed May 23, 2013
1 parent ea761d7 commit 2ef6194
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ window.Balanced = Ember.Application.create({
}
});

if (window.TESTING) {
Balanced.setupForTesting();
}

window.Balanced.onLoad = function () {
// initialize anything that needs to be done on application load
Balanced.Helpers.init();
Expand Down

2 comments on commit 2ef6194

@mjallday
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nodesocket @kleinsch i believe this is it. I haven't been able to reproduce any test errors since I added this.

@nodesocket
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still getting the error, even with:

if (window.TESTING) {
     Balanced.setupForTesting();
}

in app/dashboard.js. Was there more code needed?

Please sign in to comment.