I’m trying to figure out the proper way to make a component integration test that involves asynchronous behavior. I seem to bounce back and forth between “calling set on a destroyed object” and “wrap asynchronous behavior in a run”. Here’s a Twiddle of it working in QUnit, but in Mocha the assertions are run before the promise resolves.
Any pointers? Thanks!