Skip to content
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

Merged
merged 1 commit into from Apr 12, 2022

Commits on Apr 12, 2022

  1. fix(testing): provide more descriptive message when the target projec…

    …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
    barbados-clemens committed Apr 12, 2022
    Copy the full SHA
    5864b41 View commit details
    Browse the repository at this point in the history