nx run my-app:e2e --testingType component
does not work for an @nrwl/nx
-generated project
#63
Labels
nx run my-app:e2e --testingType component
does not work for an @nrwl/nx
-generated project
#63
I've got an Angular 12 project set up with
@nrwl/nx
version 12.3.6. It has two projects:my-app
(for the Angular app itself) +my-app-e2e
(for the Cypress end-to-end tests). To add Cypress component testing too, I've followed the README:By the way, this adds the package as a regular dependency, instead of a dev dependency. Bug? Anyways, I've moved it into the dev dependencies, it shouldn't matter anyway.
The following command failed: ❌
The following command worked and executed the sample tests successfully: ✔
However, if I add the following to
angular.json
, I can fix thenx
way like this:Then the command simply becomes: ✔
I guess it makes sense to add something like this to the documentation or to the schematic?
The text was updated successfully, but these errors were encountered: