Function

assertDestroyablesDestroyed public

Module: @ember/destroyable

This function asserts that all objects which have associated destructors or associated children have been destroyed at the time it is called. It is meant to be a low level hook that testing frameworks can use to hook into and validate that all destroyables have in fact been destroyed.

This function requires that enableDestroyableTracking was called previously, and is only available in non-production builds.

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/3.25/functions/@ember%2Fdestroyable/assertDestroyablesDestroyed