Skip to content

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

@AddictedToBattlestar

Description

@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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions