Skip to content

Issues with first-class component templates? #392

@spuxx-dev

Description

@spuxx-dev

Hello there! It appears I'm having issues with collecting coverage from first-class component templates (<template>).

When running ember test with COVERAGE=true, Im getting the following error on the first .gts file:

.../components/misc/loading-indicator/loading-indicator.component.ts: Scope functions can only consist of a single return statement which returns an object expression containing references to in-scope valuesError: .../components/misc/loading-indicator/loading-indicator.component.ts: Scope functions can only consist of a single return statement which returns an object expression containing references to in-scope values

Is there a known incompatibility between ember-cli-code-coverage and gjs/gts files? Is there a workaround I'm not aware of?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions