Skip to content

Tests fail to run due to Haste module map on ain CI #2041

@shohamc1

Description

@shohamc1

What happened:

Jellyfish tests using @defichain/testcontainers all fail with the following error on DeFiCh/ain

The name `@defichain/testcontainers` was looked up in the Haste module map. It cannot be resolved, because there exists several different files, or packages, that provide a module for that particular name and platform. The platform is generic (no extension). You must delete or exclude files until there remains only one of these:

      * `/home/runner/work/ain/ain/apps/dist/packages/testcontainers/package.json` (package)
      * `/home/runner/work/ain/ain/packages/testcontainers/package.json` (package)

This is preventing us from knowing if changes on the node affect Jellyfish or the tests, and slows down how quickly we can respond with changes on ain or Jellyfish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't workingneeds/areaNeeds area label(s)needs/triageWaiting for triage to be accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions