Component testing when Angular source is in different directory #25196
Unanswered
aurelijusrozenas
asked this question in
Component Testing
Replies: 1 comment
-
It definitely should be possible. Nx does this - they have a separate project for tests. This PR landed last week: #25090. It might be relevant? What error are you running into exactly? Can you share a minimal reproduction? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to setup Component testing with Angular. Our application has multiple
node_modules
installations:/package.json
- at project root are some dependencies, Cypress is among them./angular/package.json
- angular source and it's dependencies./cypress
- cypress configuration and tests.Is it possible to configure Cypress to use
/angular
directory for source and dependecies (e.g.,@angular/cli
etc)?The only other solution seems to be to move Cypress installation to
/angular
.Beta Was this translation helpful? Give feedback.
All reactions