Skip to content

vite / v2 addon, test-support from older addons aren't resolved properly #2517

@gossi

Description

@gossi

I'm updating ember-command to use vite. The biggy here: gossi/ember-command#138

ember-command uses ember-link and has compat with all its older versions right now. As such there is a test matrix and I wanted to use it with @embroider/try.

Which is here: https://github.com/gossi/ember-command/blob/4019082f059e37c49725eeb61b9c5401a36fe212/.try.mjs

However, the test runs are failing:

Error message is:

[vite]: Rollup failed to resolve import "ember-link/test-support" from "/home/runner/work/ember-command/ember-command/tests/integration/helpers/command-test.gts".

It is either used with ember-link@1 rsp. ember-link@2.

Both times the "old" formats to resolve test-support. I suspect, this isn't supported yet?

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