You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically I have a controller action that calls send, and that action should be handled in the route. I have a test for it which used to work, but after upgrading ember-mocha (which probably updated the test helpers), this doesn't work anymore. Here's a JSBin that reproduces the issue.
The issue seems to be that it's trying to look up a router somewhere which is set to undefined. I believe this is somewhere in EmberRouteror so, the compiled output of the function where the error is raised is:
send: function (name, context) {
var _router3;
(_router3 = this.router).trigger.apply(_router3, arguments);
},
edit: Here is a version that works. It's the same, but uses different ember and ember-mocha versions.
Narrowing it down further, the problem definitely seems to have appeared between v. 0.7.0 and 0.8.0 of ember-mocha.
The text was updated successfully, but these errors were encountered:
Basically I have a controller action that calls
send
, and that action should be handled in the route. I have a test for it which used to work, but after upgradingember-mocha
(which probably updated the test helpers), this doesn't work anymore. Here's a JSBin that reproduces the issue.The issue seems to be that it's trying to look up a router somewhere which is set to
undefined
. I believe this is somewhere inEmberRouter
or so, the compiled output of the function where the error is raised is:edit:
Here is a version that works. It's the same, but uses different ember and ember-mocha versions.
Narrowing it down further, the problem definitely seems to have appeared between v. 0.7.0 and 0.8.0 of ember-mocha.
The text was updated successfully, but these errors were encountered: