machty / ember-concurrency

ember-concurrency is an Ember Addon that enables you to write concise, worry-free, cancelable, restartable, asynchronous tasks.
http://ember-concurrency.com
MIT License
689 stars 157 forks source link

Test helpers for enqueued tasks #495

Open abeadam opened 2 years ago

abeadam commented 2 years ago

Would be great if we have test helpers to easily see which tasks executed in which order. I have an enqueueTaskGroup and I would like to be able to test that my tasks executed in the correct order, if there was a test helper that could look into the execution history and provide it, or if there is a way of pausing and continuing the execution of queued tasks, it would make testing much easier.