workerloader-jest-transformer

JSON →
library 0.1.0 ·javascript maintenance
verified Apr 25, 2026

A Jest transformer for Webpack worker-loader that enables testing Web Workers with Jest. This package transforms worker files (matched by regex) into mock workers that emulate the Worker API, allowing tests to run in Node.js without a browser environment. Inspired by jsdom-worker. Current version 0.1.0 is unstable and experimental; the project is seeking maintainers. Key differentiators: specifically designed for worker-loader, uses a lightweight mock with terminate/close semantics.

total hits 14
actors 4 distinct systems
last hit 2d ago AhrefsBot
GPTBot
5
MetaBot
3
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇬🇧 United Kingdom