Skip to content

Not able to run unit tests successfully in an integrated nx monorepo.  #78

Description

@im-shery

I have an integrated nx monorepo with a directory structure as follows.

apps/nativescript-saas which has my nativescript app written with angular

libs/nativescript contains some base components for which are extended by nativescript app.
libs/shared contains some shared components which I also use for my web-app

I have all the configs in place and my libs are referenced in ts.config both spec and app.

The issue is that my tests files do not recognise the code libs in libs directory although when I run it normally everything works fine. I have looked at the the unit test v3 runner here Link but it doesn't also work as expected.

My question is of there is any reference repo where this was setup and tested? Or it could potentially be an issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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