Ember concurrency timeout hanging in qunit
问题 In Ember I have a component that starts a never-ending poll to keep some data up to date. Like so: export default Component.extend({ pollTask: task(function * () { while(true) { yield timeout(this.get('pollRate')); this.fetchSomeData(); } }).on('init') }) This causes a preexisting acceptance test to get stuck in this task and run forever, even though it should be run asynchronously. The test looks like this: test('my test', async function(assert) { mockFindRecord(make('fetched-model')); await