Vote count:
0
I am using Jasmine with Karma to test my ember application.
Whilst testing the action of routes, like: route.send('add');
Jasmine gives me TypeError: 'undefined' is not an object (evaluating 'this.router.send')
Testing actions for controllers and components in the same manner works fine.
PS: Logging the controller object: {_subControllers: [], __nextSuper: undefined} & Logging the route object: {__nextSuper: undefined}
asked 1 min ago
Cannot test Ember route actions using Jasmine
Aucun commentaire:
Enregistrer un commentaire