@nrwl/react:component-cypress-spec
Create a Cypress spec for a UI component that has a story.
Usage
nx generate component-cypress-spec ...
By default, Nx will search for component-cypress-spec
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/react:component-cypress-spec ...
Show what will be generated without writing to disk:
nx g component-cypress-spec ... --dry-run