New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(testing): provide descriptive message when project is missing targets for cypress-project generator #9795
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nrwl/nx-dev/Ec7YSxdo9YteSsKatmZtqVfo2KBp [Deployment for 5864b41 canceled] |
4e37666
to
8a9de60
Compare
…t does not have targets defined. when trying to add cypress to a project that does not contain targets the project will error out because of a null reference. Now when trying to add to a project without a serve target a more descriptive message is logged stating to add a serve target or use the --baseUrl flag Note: a future update should add the parameter to override what target to use if so desired. ISSUES CLOSED: #9756
8a9de60
to
5864b41
Compare
…ave targets defined. (#9795) when trying to add cypress to a project that does not contain targets the project will error out because of a null reference. Now when trying to add to a project without a serve target a more descriptive message is logged stating to add a serve target or use the --baseUrl flag Note: a future update should add the parameter to override what target to use if so desired. ISSUES CLOSED: #9756
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
when trying to add cypress to a project that does not contain a serve target the project will error
out because of a null reference.
Now when trying to add to a project without a serve target a more
descriptive error is throw stating to add a serve target or use the --baseUrl flag
Note: a future update should add the parameter to override what target to use if so desired.
Current Behavior
Expected Behavior
Related Issue(s)
Fixes #9756