| Module: | @ember/application |
|---|
Defined in packages/@ember/-internals/owner/index.ts:79
Available since v2.3.0
import { setOwner } from '@ember/application'; setOwner forces a new owner on a given object instance. This is primarily useful in some testing cases.
© 2022 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/4.9/functions/@ember%2Fapplication/setOwner