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