Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
9396db0
commit 8a9de60
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
packages/cypress/src/generators/cypress-project/__snapshots__/cypress-project.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters