0fprod / angular-workspace-library-jest-cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AngularWorkspaceLibraryJestCypress

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.

Library

ng generate library my-lib

Build

Run ng build my-lib to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run npm test to execute the unit tests via Jest.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Cypress. (not implemented)

About


Languages

Language:TypeScript 93.1%Language:HTML 5.7%Language:SCSS 1.2%