samedi 4 avril 2015

Ember 1.11 lookup route:application oddity when testing

In Ember 1.10, the following code works:



App.__container__.lookup('route:application')


In Ember 1.11, it returns undefined.


When my test is run in isolation, it works, so my issue has to be something to do with clean up of code. I'm using:



module("Integration App Test", {
teardown: function() {
App.reset();
}
});


But that doesn't seem to be working correctly





Aucun commentaire:

Enregistrer un commentaire