well its tuesday, but I was with family yesterday...
Late last week @cibernox reported that https://github.com/emberjs/ember.js/issues/11748 was still leaking for him.
As it turns out, the main leak was forgetting to
null out top levels vars in afterEach. But that kinda sucks, as it is tedious and error prone.
So instead I wanted a better solution, one where the purden was not on the test writers.
So, as it turns out we can also just release the ES2015 module after requiring it, allowing the JS GC to do the work for us.
The follow commits add the ability to unsee a module in the loader, and configure the test-loader to unsee after requiring.