Unable to use [email protected] with ember-cli-code-coverage

#601 · closed · 2 comments

View on GitHub ↗

AddictedToBattlestar

Running `COVERAGE=true ember t` or `COVERAGE=true ember t -s` while using [email protected] with ember-cli-code-coverage fails with the below error: ``` Error: Assertion Failed: It appears you're attempting to use the new task(async () => { ... }) syntax, but the async arrow task function you've provided is not being properly compiled by Babel. ``` I did not expect to encounter this error because the Babel transform that Ember Concurrency uses is applied. If I downgrade ember-concurrency to 4.x, then I no longer see this issue. A sample Ember application I created this morning that demonstrates the situation: https://github.com/AddictedToBattlestar/concurrency-coverage-test/tree/issue-to-report Because of this, I am now postponing upgrading [email protected] within my application. Please help. Thanks!

Comments

francescoparra

Same problem for me.

machty

I meant to comment here but accidentally commented on the PR; easier to just continue the conversation there if that's ok: https://github.com/machty/ember-concurrency/pull/602#issuecomment-3441986388