import { assertDestroyablesDestroyed } from '@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.