Skip to content

This project shows how to implement Jest framework for Unit Testing instead of using Karma for Angular Apps

Notifications You must be signed in to change notification settings

joseOlivares/angular-jest

Repository files navigation

Angular with Jest

This project shows how to implement Jest framework for Unit Testing instead of using Karma for Angular Apps. This project was generated with Angular CLI version 18.2.2.

Author info 🥷

José Luis Olivares If you appreciate my effort, please endorse my skills on Linkedin (https://www.linkedin.com/in/jolivaress/)

💡 Read the step by step implementation on this Gist

https://gist.github.com/joseOlivares/8b243a0bc2282f73679dcc74053bd7f5

Running Jest unit tests

Run npm run test

Running Jest unit tests with coverage

Run npm run test:coverage

Running Jest unit tests on Watch Mode

Run npm run test:watch

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Build

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

About

This project shows how to implement Jest framework for Unit Testing instead of using Karma for Angular Apps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published