nx/packages/cypress/docs/cypress-component-project-examples.md
Caleb Ukle 09fd9132e6
docs(testing): add cypress example docs (#12209)
* docs(testing): add cypress example docs

* docs(core): sync docs
2022-09-23 14:06:32 -06:00

744 B

This is a framework-agnostic generator for adding component testing to a project.

nx g cypress-component-project --project=my-cool-project

Running this generator, adds the required files to the specified project without any configurations for Cypress. It's best to use the framework specific generator, instead cypress-component-project directly

A new component-test target will be added to the specified project.

nx g component-test my-cool-project

Read more about Cypress Component Testing