babel-jest-assertions
JSON →A Babel plugin (v0.1.0) that automatically inserts `expect.assertions(n)` and `expect.hasAssertions()` into Jest test blocks by counting `expect` calls. It supports sync, async, arrow, named, and only tests, including `beforeEach`/`afterEach` blocks. Unlike manual insertion, it eliminates human error and verbosity. Current stable version is 0.1.0; no major releases planned. Minimal alternative to manual assertion count management.
Traffic · last 30 days ↓64% vs prev 7d
total hits 26
actors 8 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇫🇷 France · 🇸🇬 Singapore · 🇬🇧 United Kingdom
Resources
API endpoints
full doc /v1/registry/babel-jest-assertions