NgVacuum
Angular tests in a vacuum.
✅ Compatible with angular 7, 8, 9 and 10.
Overview
NgVacuum lets you write true unit tests for your Angular components and services in complete isolation and with minimal boilerplate.
This is what a typical test with NgVacuum looks like.
describe'AccessControlService',;
The same test written with the stock angular tools is shown below.
describe'AccessControlService',;
This example barly scratches the surface. NgVacuum packs a ton of useful features like shallow rendering and type-safe mocks which are designed to maximize the usefulness of unit tests while minimizing their maintainance cost.
Read the online documentation to get started.