A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/astagi/workerloader-jest-transformer below:

astagi/workerloader-jest-transformer: 🃏 Jest transformer for Webpack worker-loader

workerloader-jest-transformer

A Jest transformer for Webpack worker-loader

This transformer helps you to use Jest with Webpack worker-loader module. Inspired by jsdom-worker

Warnings and help wanted❗️

⚠️ This transformer is highly experimental. Any contribution and advice would be greatly appreciated!

📣 I need help maintaining this project. Send me a DM on Twitter if you want to become a maintainer.

npm install workerloader-jest-transformer --save-dev

or

yarn add workerloader-jest-transformer --dev
Setting up Jest config file

workerloader-jest-transformer must be used in your Jest config file like this:

{
  transform: {
    "^.+\\.worker.[t|j]sx?$": "workerloader-jest-transformer"
  }
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4