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
[BUGFIX release] Fix ownerInjection when used to create services directly
Fixes `this.owner.ownerInjection()` when used to create Services,
Controllers, and other Framework classes directly. This allows unit
tests to be written for these classes, something that was more common in
older tests.
(cherry picked from commit 483613d)
`An EmberObject based class, ${this.constructor}, was not instantiated correctly. You may have either used \`new\` instead of \`.create()\`, or not passed arguments to your call to super in the constructor: \`super(...arguments)\`. If you are trying to use \`new\`, consider using native classes without extending from EmberObject.`,
0 commit comments