Skip to content

pnpm duplicates lead to errors #1108

@gossi

Description

@gossi

We have a library addon, that uses getApplication() from @ember/test-helpers as part of its test-support. Tests are working fine. Used ember version is 6.3. Now renovate attempts an update of @ember/test-helpers package from v3 -> v5. This fails on ember-try with other ember versions, because getApplication() returns undefined. After a debugging session, I figured the reason for this:

Image

Duplicate of test-helpers for the ember-5.12 scenario. Apparently both are used, one stores the application in module scope, the other is asked to return it.

It's not necessarily a problom of ember-try, but the context in which this is appearing. So I am wondering if there are some clever people, that already figured out a solution.

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