Shallow Rendering Utility for Angular

JSON →
library 20.0.0 ·javascript
verified May 27, 2026

shallow-render is an Angular testing utility designed to simplify unit testing of components by providing shallow rendering and easy mocking capabilities. It aims to reduce the boilerplate often associated with Angular's native TestBed. The current stable version is 20.0.0, which aligns with Angular v20. The library generally releases new major versions in lockstep with Angular's major releases, ensuring compatibility. Its key differentiator is a more streamlined API that allows developers to focus specifically on the component under test without needing to declare all its deep dependencies or resort to `NO_ERRORS_SCHEMA`, simplifying test setup and maintenance. The project is actively seeking additional maintainers, indicating a potential future shift in its maintenance model, though it remains updated with new Angular versions by the current maintainer.

total hits 39
actors 8 distinct systems
last hit 1d ago human
GPTBot
5
Amazonbot
4
MetaBot
4
Script
1
ClaudeBot
1
Search engines
1
Humans
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇬🇧 United Kingdom