This project was generated with the following command in order to create it without any testing frameworks. See Angular Cli Options for details.
ng new angular-workspace-library-jest-cypress --style=scss --skipTests=true --routing=true --minimal=true
The goal of this repo is to create component library (my-lib), import its built (/dist) components into the angular application and test them with Jest & Cypress.
ng generate library my-lib
Run ng build my-lib
to build the project. The build artifacts will be stored in the dist/
directory.
Run npm test
to execute the unit tests via Jest.
Run (not implemented)ng e2e
to execute the end-to-end tests via Cypress.