mardi 11 août 2020

Transition Aborted for Failed FindRecord

So in my route I have the following code and it works just fine when running the app. But when I run my tests, the test fails with transition aborted instead of doing what it does when I run the app.

Model(params) {
  Return this.store.findRecord(service, 999);  
}

What am I missing here? I would of thought it would hit afterModel and just do what I expect.




Aucun commentaire:

Enregistrer un commentaire