Preparing for system design interviews?  Try bugzed.com →

Jest Chrome API Mock

JSON →
library 0.8.0 ·javascript
verified Jun 17, 2026

jest-chrome provides a comprehensive mock of the Chrome Extension API, designed specifically for testing Chrome extensions with Jest. It aims for a complete and accurate representation of the Chrome API, with built-in TypeScript support derived directly from the `@types/chrome` package, ensuring type safety and intellisense. The package is actively maintained, with the current stable version being 0.8.0. Releases occur periodically to address Jest compatibility, improve API coverage, and fix build-related issues, though there isn't a strict time-based cadence. Its primary differentiator is the completeness of the mock and its strong adherence to the official Chrome API types, enabling robust testing of extension logic without needing a real browser environment. This allows for faster, more reliable unit and integration tests for Chrome extensions.

total hits 9
actors 3 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany