DEV Community

Cover image for Unit testing: Jest - Angular Tour of heroes app 100% code coverage
Kristiyan Velkov
Kristiyan Velkov

Posted on • Edited on

2 1 1 1 1

Unit testing: Jest - Angular Tour of heroes app 100% code coverage

What is unit testing ?

*Unit testing is a software testing approach that involves testing individual units or components of a software system in isolation to ensure they function correctly. *

Image description

I know that a lot of people struggle to write good unit tests. So, I decide to prepare clear example of most popular angular learning app - "Tour of heroes" with 100% code coverage.

REPOSITORY: angular-tour-of-heroes-jest-100-coverage

I hope the repository will help many people.


Image description

linkedin


Image description

If you like my work and want to support me to work hard, please donate via:

Revolut website payment or use the QR code above.

Thanks a bunch for supporting me! It means a LOT 😍

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay